Skip to content

Commit

Permalink
Update artifact actions
Browse files Browse the repository at this point in the history
  • Loading branch information
devongovett committed Jan 9, 2025
1 parent 4d34f98 commit b3a168e
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
if: ${{ matrix.strip }}
run: ${{ matrix.strip }} *.node ${{ matrix.binary }}
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: bindings-${{ matrix.target }}
path: |
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
- name: Strip debug symbols # https://github.com/rust-lang/rust/issues/46034
run: strip -x *.node lightningcss
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: bindings-aarch64-apple-darwin
path: |
Expand Down Expand Up @@ -153,7 +153,7 @@ jobs:
if: ${{ matrix.strip }}
run: ${{ matrix.strip }} *.node lightningcss
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: bindings-${{ matrix.target }}
path: |
Expand Down Expand Up @@ -201,7 +201,7 @@ jobs:
rm -rf .yarn/cache
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: bindings-x86_64-unknown-freebsd
path: |
Expand Down Expand Up @@ -232,7 +232,7 @@ jobs:
export PATH="$PATH:./binaryen-version_111/bin"
yarn wasm:build-release
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wasm
path: wasm/lightningcss_node.wasm
Expand All @@ -250,9 +250,12 @@ jobs:
- uses: actions/checkout@v3
- uses: bahmutov/[email protected]
- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
path: artifacts
merge-multiple: true
- name: Show artifacts
run: ls -R artifacts
- name: Build npm packages
run: |
node scripts/build-npm.js
Expand Down

0 comments on commit b3a168e

Please sign in to comment.