64
64
name : linux-x64-gnu
65
65
docker : ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian
66
66
build : |-
67
+ npm install -g corepack@latest &&
68
+ corepack enable &&
69
+ pnpm --version &&
67
70
set -e &&
68
71
cd crates/node_binding &&
69
72
unset CC_x86_64_unknown_linux_gnu && unset CC &&
79
82
name : linux-arm64-gnu
80
83
docker : ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian-aarch64
81
84
build : |-
85
+ npm install -g corepack@latest &&
86
+ corepack enable &&
87
+ pnpm --version &&
82
88
set -e &&
83
89
cd crates/node_binding &&
84
90
export JEMALLOC_SYS_WITH_LG_PAGE=16 && export CC_aarch64_unknown_linux_gnu=clang &&
@@ -141,7 +147,7 @@ jobs:
141
147
if : ${{ !matrix.settings.docker }}
142
148
shell : bash
143
149
- name : Upload artifact
144
- uses : actions/upload-artifact@v3
150
+ uses : actions/upload-artifact@v4
145
151
with :
146
152
name : ${{ env.APP_NAME }}.${{ matrix.settings.name }}.node
147
153
path : crates/node_binding/${{ env.APP_NAME }}.*.node
@@ -156,19 +162,19 @@ jobs:
156
162
- name : Pnpm Cache # Required by some tests
157
163
uses : ./.github/actions/pnpm-cache
158
164
- name : Download macOS x64 artifact
159
- uses : actions/download-artifact@v3
165
+ uses : actions/download-artifact@v4
160
166
with :
161
167
name : ${{ env.APP_NAME }}.darwin-x64.node
162
168
path : crates/node_binding/artifacts
163
169
- name : Download macOS arm64 artifact
164
- uses : actions/download-artifact@v3
170
+ uses : actions/download-artifact@v4
165
171
with :
166
172
name : ${{ env.APP_NAME }}.darwin-arm64.node
167
173
path : crates/node_binding/artifacts
168
174
- name : Combine binaries
169
175
run : cd crates/node_binding && pnpm universal
170
176
- name : Upload artifact
171
- uses : actions/upload-artifact@v3
177
+ uses : actions/upload-artifact@v4
172
178
with :
173
179
name : ${{ env.APP_NAME }}.darwin-universal.node
174
180
path : crates/node_binding/${{ env.APP_NAME }}.*.node
@@ -183,7 +189,7 @@ jobs:
183
189
- name : Pnpm Cache # Required by some tests
184
190
uses : ./.github/actions/pnpm-cache
185
191
- name : Download all artifacts
186
- uses : actions/download-artifact@v3
192
+ uses : actions/download-artifact@v4
187
193
with :
188
194
path : crates/node_binding/artifacts
189
195
- name : Move artifacts
0 commit comments