6262 name : build ${{ matrix.settings.target }}
6363 runs-on : ${{ matrix.settings.host }}
6464 steps :
65- - uses : actions/checkout@v4
65+ - uses : actions/checkout@v5
6666 - name : Setup node
6767 uses : actions/setup-node@v4
6868 with :
@@ -122,7 +122,7 @@ jobs:
122122 runs-on : ubuntu-latest
123123 name : build FreeBSD
124124 steps :
125- - uses : actions/checkout@v4
125+ - uses : actions/checkout@v5
126126 - name : Build
127127 id : build
128128 uses :
cross-platform-actions/[email protected] @@ -171,7 +171,7 @@ jobs:
171171 - build
172172 runs-on : macos-latest
173173 steps :
174- - uses : actions/checkout@v4
174+ - uses : actions/checkout@v5
175175 - name : Setup node
176176 uses : actions/setup-node@v4
177177 with :
@@ -180,12 +180,12 @@ jobs:
180180 - name : Install dependencies
181181 run : yarn install
182182 - name : Download macOS x64 artifact
183- uses : actions/download-artifact@v4
183+ uses : actions/download-artifact@v5
184184 with :
185185 name : bindings-x86_64-apple-darwin
186186 path : bindings/node
187187 - name : Download macOS arm64 artifact
188- uses : actions/download-artifact@v4
188+ uses : actions/download-artifact@v5
189189 with :
190190 name : bindings-aarch64-apple-darwin
191191 path : bindings/node
@@ -199,7 +199,6 @@ jobs:
199199 if-no-files-found : error
200200 publish :
201201 name : Publish
202- if : startsWith(github.ref, 'refs/tags/')
203202 runs-on : ubuntu-latest
204203 permissions :
205204 contents : write
@@ -209,7 +208,7 @@ jobs:
209208 - build-freebsd
210209 - universal-macOS
211210 steps :
212- - uses : actions/checkout@v4
211+ - uses : actions/checkout@v5
213212 - name : Setup node
214213 uses : actions/setup-node@v4
215214 with :
@@ -218,12 +217,12 @@ jobs:
218217 - name : Install dependencies
219218 run : yarn install
220219 - name : Download native artifacts
221- uses : actions/download-artifact@v4
220+ uses : actions/download-artifact@v5
222221 with :
223222 pattern : bindings-*
224223 path : bindings/node/artifacts
225224 - name : Download generated index artifact
226- uses : actions/download-artifact@v4
225+ uses : actions/download-artifact@v5
227226 with :
228227 name : generated-index
229228 path : bindings/node
@@ -237,6 +236,7 @@ jobs:
237236 shell : bash
238237 - run : yarn format:index
239238 - name : Publish
239+ if : startsWith(github.ref, 'refs/tags/')
240240 working-directory : bindings/node
241241 run : |
242242 echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
0 commit comments