7171 name : Build ${{ matrix.settings.target }}
7272 runs-on : ${{ matrix.settings.host }}
7373 steps :
74- - uses : actions/checkout@v4
74+ - uses : actions/checkout@v5
7575 - name : Setup node
7676 uses : actions/setup-node@v4
7777 with :
@@ -123,12 +123,12 @@ jobs:
123123 if-no-files-found : error
124124 build-freebsd :
125125 runs-on : ubuntu-latest
126- name : Build fFreeBSD
126+ name : Build FreeBSD
127127 steps :
128- - uses : actions/checkout@v4
128+ - uses : actions/checkout@v5
129129 - name : Build
130130 id : build
131- uses : cross-platform-actions/action@v0.28 .0
131+ uses : cross-platform-actions/action@v0.29 .0
132132 env :
133133 DEBUG : napi:*
134134 RUSTUP_IO_THREADS : 1
@@ -192,7 +192,7 @@ jobs:
192192 - ' 22'
193193 runs-on : ${{ matrix.settings.host }}
194194 steps :
195- - uses : actions/checkout@v4
195+ - uses : actions/checkout@v5
196196 - name : Setup node
197197 uses : actions/setup-node@v4
198198 with :
@@ -202,7 +202,7 @@ jobs:
202202 - name : Install dependencies
203203 run : yarn install
204204 - name : Download artifacts
205- uses : actions/download-artifact@v4
205+ uses : actions/download-artifact@v5
206206 with :
207207 name : bindings-${{ matrix.settings.target }}
208208 path : bindings/node
@@ -229,7 +229,7 @@ jobs:
229229 - ' 22'
230230 runs-on : ${{ contains(matrix.target, 'aarch64') && 'ubuntu-24.04-arm' || 'ubuntu-latest' }}
231231 steps :
232- - uses : actions/checkout@v4
232+ - uses : actions/checkout@v5
233233 - name : Setup node
234234 uses : actions/setup-node@v4
235235 with :
@@ -260,7 +260,7 @@ jobs:
260260 yarn config set --json supportedArchitectures.libc '["current", "musl", "gnu"]'
261261 yarn install
262262 - name : Download artifacts
263- uses : actions/download-artifact@v4
263+ uses : actions/download-artifact@v5
264264 with :
265265 name : bindings-${{ matrix.target }}
266266 path : bindings/node
@@ -286,14 +286,13 @@ jobs:
286286 run : yarn test
287287 publish :
288288 name : Publish
289- if : startsWith(github.ref, 'refs/tags/')
290289 runs-on : ubuntu-latest
291290 needs :
292291 - build-freebsd
293292 - test-macOS-windows-binding
294293 - test-linux-binding
295294 steps :
296- - uses : actions/checkout@v4
295+ - uses : actions/checkout@v5
297296 - name : Setup node
298297 uses : actions/setup-node@v4
299298 with :
@@ -305,7 +304,7 @@ jobs:
305304 working-directory : bindings/node
306305 run : yarn napi create-npm-dirs
307306 - name : Download all artifacts
308- uses : actions/download-artifact@v4
307+ uses : actions/download-artifact@v5
309308 with :
310309 path : bindings/node/artifacts
311310 - name : Move artifacts
@@ -315,6 +314,7 @@ jobs:
315314 working-directory : bindings/node
316315 shell : bash
317316 - name : Publish
317+ if : startsWith(github.ref, 'refs/tags/')
318318 working-directory : bindings/node
319319 run : |
320320 echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
0 commit comments