Skip to content

Commit b3a168e

Browse files
committed
Update artifact actions
1 parent 4d34f98 commit b3a168e

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/release.yml

+9-6
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
if: ${{ matrix.strip }}
4949
run: ${{ matrix.strip }} *.node ${{ matrix.binary }}
5050
- name: Upload artifacts
51-
uses: actions/upload-artifact@v3
51+
uses: actions/upload-artifact@v4
5252
with:
5353
name: bindings-${{ matrix.target }}
5454
path: |
@@ -90,7 +90,7 @@ jobs:
9090
- name: Strip debug symbols # https://github.com/rust-lang/rust/issues/46034
9191
run: strip -x *.node lightningcss
9292
- name: Upload artifacts
93-
uses: actions/upload-artifact@v3
93+
uses: actions/upload-artifact@v4
9494
with:
9595
name: bindings-aarch64-apple-darwin
9696
path: |
@@ -153,7 +153,7 @@ jobs:
153153
if: ${{ matrix.strip }}
154154
run: ${{ matrix.strip }} *.node lightningcss
155155
- name: Upload artifacts
156-
uses: actions/upload-artifact@v3
156+
uses: actions/upload-artifact@v4
157157
with:
158158
name: bindings-${{ matrix.target }}
159159
path: |
@@ -201,7 +201,7 @@ jobs:
201201
rm -rf .yarn/cache
202202
203203
- name: Upload artifacts
204-
uses: actions/upload-artifact@v3
204+
uses: actions/upload-artifact@v4
205205
with:
206206
name: bindings-x86_64-unknown-freebsd
207207
path: |
@@ -232,7 +232,7 @@ jobs:
232232
export PATH="$PATH:./binaryen-version_111/bin"
233233
yarn wasm:build-release
234234
- name: Upload artifacts
235-
uses: actions/upload-artifact@v3
235+
uses: actions/upload-artifact@v4
236236
with:
237237
name: wasm
238238
path: wasm/lightningcss_node.wasm
@@ -250,9 +250,12 @@ jobs:
250250
- uses: actions/checkout@v3
251251
- uses: bahmutov/[email protected]
252252
- name: Download artifacts
253-
uses: actions/download-artifact@v3
253+
uses: actions/download-artifact@v4
254254
with:
255255
path: artifacts
256+
merge-multiple: true
257+
- name: Show artifacts
258+
run: ls -R artifacts
256259
- name: Build npm packages
257260
run: |
258261
node scripts/build-npm.js

0 commit comments

Comments
 (0)