Skip to content

Commit f95c9f6

Browse files
authored
fix(NODE-6381): use targeting for x86_64 darwin (#26)
1 parent c9570cd commit f95c9f6

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Diff for: .github/workflows/CI.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
target: x86_64-apple-darwin
2828
architecture: x64
2929
build: |
30-
npm run build
30+
npm run build -- --target x86_64-apple-darwin
3131
strip -x *.node
3232
- host: windows-latest
3333
build: npm run build
@@ -132,7 +132,7 @@ jobs:
132132
if: ${{ !matrix.settings.docker }}
133133
shell: bash
134134
- name: Upload artifact
135-
uses: actions/upload-artifact@v3
135+
uses: actions/upload-artifact@v4
136136
with:
137137
name: bindings-${{ matrix.settings.target }}
138138
path: ${{ env.APP_NAME }}.*.node
@@ -170,7 +170,7 @@ jobs:
170170
- name: Install dependencies
171171
run: npm clean-install --ignore-scripts
172172
- name: Download artifacts
173-
uses: actions/download-artifact@v3
173+
uses: actions/download-artifact@v4
174174
with:
175175
name: bindings-${{ matrix.settings.target }}
176176
path: .
@@ -209,7 +209,7 @@ jobs:
209209
- name: Install dependencies
210210
run: npm clean-install --ignore-scripts
211211
- name: Download artifacts
212-
uses: actions/download-artifact@v2
212+
uses: actions/download-artifact@v4
213213
with:
214214
name: bindings-x86_64-unknown-linux-gnu
215215
path: .
@@ -248,7 +248,7 @@ jobs:
248248
- name: Install dependencies
249249
run: npm clean-install --ignore-scripts
250250
- name: Download artifacts
251-
uses: actions/download-artifact@v3
251+
uses: actions/download-artifact@v4
252252
with:
253253
name: bindings-x86_64-unknown-linux-musl
254254
path: .
@@ -275,7 +275,7 @@ jobs:
275275
- run: docker run --rm --privileged multiarch/qemu-user-static:register --reset
276276
- uses: actions/checkout@v3
277277
- name: Download artifacts
278-
uses: actions/download-artifact@v3
278+
uses: actions/download-artifact@v4
279279
with:
280280
name: bindings-aarch64-unknown-linux-gnu
281281
path: .
@@ -313,7 +313,7 @@ jobs:
313313
- run: docker run --rm --privileged multiarch/qemu-user-static:register --reset
314314
- uses: actions/checkout@v3
315315
- name: Download artifacts
316-
uses: actions/download-artifact@v3
316+
uses: actions/download-artifact@v4
317317
with:
318318
name: bindings-aarch64-unknown-linux-musl
319319
path: .
@@ -363,7 +363,7 @@ jobs:
363363
- name: Install dependencies
364364
run: npm clean-install --ignore-scripts
365365
- name: Download all artifacts
366-
uses: actions/download-artifact@v3
366+
uses: actions/download-artifact@v4
367367
with:
368368
path: artifacts
369369
- name: Move artifacts

0 commit comments

Comments
 (0)