@@ -56,17 +56,17 @@ jobs:
5656 env :
5757 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5858 steps :
59- - uses : actions/checkout@v4
59+ - uses : actions/checkout@v6
6060 with :
6161 persist-credentials : false
6262 submodules : recursive
6363 - name : Install dist
6464 # we specify bash to get pipefail; it guards against the `curl` command
6565 # failing. otherwise `sh` won't catch that `curl` returned non-0
6666 shell : bash
67- run : " curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.30.3 /cargo-dist-installer.sh | sh"
67+ run : " curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.30.4 /cargo-dist-installer.sh | sh"
6868 - name : Cache dist
69- uses : actions/upload-artifact@v4
69+ uses : actions/upload-artifact@v6
7070 with :
7171 name : cargo-dist-cache
7272 path : ~/.cargo/bin/dist
8282 cat plan-dist-manifest.json
8383 echo "manifest=$(jq -c "." plan-dist-manifest.json)" >> "$GITHUB_OUTPUT"
8484 - name : " Upload dist-manifest.json"
85- uses : actions/upload-artifact@v4
85+ uses : actions/upload-artifact@v6
8686 with :
8787 name : artifacts-plan-dist-manifest
8888 path : plan-dist-manifest.json
@@ -116,13 +116,15 @@ jobs:
116116 - name : enable windows longpaths
117117 run : |
118118 git config --global core.longpaths true
119- - uses : actions/checkout@v4
119+ - uses : actions/checkout@v6
120120 with :
121121 persist-credentials : false
122122 submodules : recursive
123- - uses : actions/setup-node@v4
123+ # I could [customize the setup to include this](https://axodotdev.github.io/cargo-dist/book/ci/customizing.html#customizing-build-setup),
124+ # but keeping it here makes it easier to keep the Node version in sync with the node install for `build-global-artifacts` below.
125+ - uses : actions/setup-node@v6
124126 with :
125- node-version : 23
127+ node-version : 24
126128 - name : Install Rust non-interactively if not already installed
127129 if : ${{ matrix.container }}
128130 run : |
@@ -134,7 +136,7 @@ jobs:
134136 run : ${{ matrix.install_dist.run }}
135137 # Get the dist-manifest
136138 - name : Fetch local artifacts
137- uses : actions/download-artifact@v4
139+ uses : actions/download-artifact@v7
138140 with :
139141 pattern : artifacts-*
140142 path : target/distrib/
@@ -163,7 +165,7 @@ jobs:
163165
164166 cp dist-manifest.json "$BUILD_MANIFEST_NAME"
165167 - name : " Upload artifacts"
166- uses : actions/upload-artifact@v4
168+ uses : actions/upload-artifact@v6
167169 with :
168170 name : artifacts-build-local-${{ join(matrix.targets, '_') }}
169171 path : |
@@ -184,22 +186,22 @@ jobs:
184186 APP_VERSION : ${{ fromJson(needs.plan.outputs.val).releases[0].app_version }}
185187 VSCE_ARGS : --changelog-path docs/changelog.md
186188 steps :
187- - uses : actions/checkout@v4
189+ - uses : actions/checkout@v6
188190 with :
189191 persist-credentials : false
190192 submodules : recursive
191- - uses : actions/setup-node@v4
193+ - uses : actions/setup-node@v6
192194 with :
193- node-version : 23
195+ node-version : 24
194196 - name : Install cached dist
195- uses : actions/download-artifact@v4
197+ uses : actions/download-artifact@v7
196198 with :
197199 name : cargo-dist-cache
198200 path : ~/.cargo/bin/
199201 - run : chmod +x ~/.cargo/bin/dist
200202 # Get all the local artifacts for the global tasks to use (for e.g. checksums)
201203 - name : Fetch local artifacts
202- uses : actions/download-artifact@v4
204+ uses : actions/download-artifact@v7
203205 with :
204206 pattern : artifacts-*
205207 path : target/distrib/
@@ -222,7 +224,7 @@ jobs:
222224
223225 cp dist-manifest.json "$BUILD_MANIFEST_NAME"
224226 - name : " Upload artifacts"
225- uses : actions/upload-artifact@v4
227+ uses : actions/upload-artifact@v6
226228 with :
227229 name : artifacts-build-global
228230 path : |
@@ -242,19 +244,19 @@ jobs:
242244 outputs :
243245 val : ${{ steps.host.outputs.manifest }}
244246 steps :
245- - uses : actions/checkout@v4
247+ - uses : actions/checkout@v6
246248 with :
247249 persist-credentials : false
248250 submodules : recursive
249251 - name : Install cached dist
250- uses : actions/download-artifact@v4
252+ uses : actions/download-artifact@v7
251253 with :
252254 name : cargo-dist-cache
253255 path : ~/.cargo/bin/
254256 - run : chmod +x ~/.cargo/bin/dist
255257 # Fetch artifacts from scratch-storage
256258 - name : Fetch artifacts
257- uses : actions/download-artifact@v4
259+ uses : actions/download-artifact@v7
258260 with :
259261 pattern : artifacts-*
260262 path : target/distrib/
@@ -267,14 +269,14 @@ jobs:
267269 cat dist-manifest.json
268270 echo "manifest=$(jq -c "." dist-manifest.json)" >> "$GITHUB_OUTPUT"
269271 - name : " Upload dist-manifest.json"
270- uses : actions/upload-artifact@v4
272+ uses : actions/upload-artifact@v6
271273 with :
272274 # Overwrite the previous copy
273275 name : artifacts-dist-manifest
274276 path : dist-manifest.json
275277 # Create a GitHub Release while uploading all files to it
276278 - name : " Download GitHub Artifacts"
277- uses : actions/download-artifact@v4
279+ uses : actions/download-artifact@v7
278280 with :
279281 pattern : artifacts-*
280282 path : artifacts
@@ -307,7 +309,7 @@ jobs:
307309 env :
308310 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
309311 steps :
310- - uses : actions/checkout@v4
312+ - uses : actions/checkout@v6
311313 with :
312314 persist-credentials : false
313315 submodules : recursive
0 commit comments