27
27
target : x86_64-apple-darwin
28
28
architecture : x64
29
29
build : |
30
- npm run build
30
+ npm run build -- --target x86_64-apple-darwin
31
31
strip -x *.node
32
32
- host : windows-latest
33
33
build : npm run build
@@ -132,7 +132,7 @@ jobs:
132
132
if : ${{ !matrix.settings.docker }}
133
133
shell : bash
134
134
- name : Upload artifact
135
- uses : actions/upload-artifact@v3
135
+ uses : actions/upload-artifact@v4
136
136
with :
137
137
name : bindings-${{ matrix.settings.target }}
138
138
path : ${{ env.APP_NAME }}.*.node
@@ -170,7 +170,7 @@ jobs:
170
170
- name : Install dependencies
171
171
run : npm clean-install --ignore-scripts
172
172
- name : Download artifacts
173
- uses : actions/download-artifact@v3
173
+ uses : actions/download-artifact@v4
174
174
with :
175
175
name : bindings-${{ matrix.settings.target }}
176
176
path : .
@@ -209,7 +209,7 @@ jobs:
209
209
- name : Install dependencies
210
210
run : npm clean-install --ignore-scripts
211
211
- name : Download artifacts
212
- uses : actions/download-artifact@v2
212
+ uses : actions/download-artifact@v4
213
213
with :
214
214
name : bindings-x86_64-unknown-linux-gnu
215
215
path : .
@@ -248,7 +248,7 @@ jobs:
248
248
- name : Install dependencies
249
249
run : npm clean-install --ignore-scripts
250
250
- name : Download artifacts
251
- uses : actions/download-artifact@v3
251
+ uses : actions/download-artifact@v4
252
252
with :
253
253
name : bindings-x86_64-unknown-linux-musl
254
254
path : .
@@ -275,7 +275,7 @@ jobs:
275
275
- run : docker run --rm --privileged multiarch/qemu-user-static:register --reset
276
276
- uses : actions/checkout@v3
277
277
- name : Download artifacts
278
- uses : actions/download-artifact@v3
278
+ uses : actions/download-artifact@v4
279
279
with :
280
280
name : bindings-aarch64-unknown-linux-gnu
281
281
path : .
@@ -313,7 +313,7 @@ jobs:
313
313
- run : docker run --rm --privileged multiarch/qemu-user-static:register --reset
314
314
- uses : actions/checkout@v3
315
315
- name : Download artifacts
316
- uses : actions/download-artifact@v3
316
+ uses : actions/download-artifact@v4
317
317
with :
318
318
name : bindings-aarch64-unknown-linux-musl
319
319
path : .
@@ -363,7 +363,7 @@ jobs:
363
363
- name : Install dependencies
364
364
run : npm clean-install --ignore-scripts
365
365
- name : Download all artifacts
366
- uses : actions/download-artifact@v3
366
+ uses : actions/download-artifact@v4
367
367
with :
368
368
path : artifacts
369
369
- name : Move artifacts
0 commit comments