@@ -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.31.0 /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,7 +116,7 @@ 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
@@ -127,11 +127,15 @@ jobs:
127127 curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
128128 echo "$HOME/.cargo/bin" >> $GITHUB_PATH
129129 fi
130+ - name : " Install mdbook"
131+ uses : " peaceiris/actions-mdbook@v2"
132+ with :
133+ " mdbook-version " : " 0.4.40"
130134 - name : Install dist
131135 run : ${{ matrix.install_dist.run }}
132136 # Get the dist-manifest
133137 - name : Fetch local artifacts
134- uses : actions/download-artifact@v4
138+ uses : actions/download-artifact@v7
135139 with :
136140 pattern : artifacts-*
137141 path : target/distrib/
@@ -158,7 +162,7 @@ jobs:
158162
159163 cp dist-manifest.json "$BUILD_MANIFEST_NAME"
160164 - name : " Upload artifacts"
161- uses : actions/upload-artifact@v4
165+ uses : actions/upload-artifact@v6
162166 with :
163167 name : artifacts-build-local-${{ join(matrix.targets, '_') }}
164168 path : |
@@ -175,19 +179,19 @@ jobs:
175179 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
176180 BUILD_MANIFEST_NAME : target/distrib/global-dist-manifest.json
177181 steps :
178- - uses : actions/checkout@v4
182+ - uses : actions/checkout@v6
179183 with :
180184 persist-credentials : false
181185 submodules : recursive
182186 - name : Install cached dist
183- uses : actions/download-artifact@v4
187+ uses : actions/download-artifact@v7
184188 with :
185189 name : cargo-dist-cache
186190 path : ~/.cargo/bin/
187191 - run : chmod +x ~/.cargo/bin/dist
188192 # Get all the local artifacts for the global tasks to use (for e.g. checksums)
189193 - name : Fetch local artifacts
190- uses : actions/download-artifact@v4
194+ uses : actions/download-artifact@v7
191195 with :
192196 pattern : artifacts-*
193197 path : target/distrib/
@@ -205,7 +209,7 @@ jobs:
205209
206210 cp dist-manifest.json "$BUILD_MANIFEST_NAME"
207211 - name : " Upload artifacts"
208- uses : actions/upload-artifact@v4
212+ uses : actions/upload-artifact@v6
209213 with :
210214 name : artifacts-build-global
211215 path : |
@@ -225,19 +229,19 @@ jobs:
225229 outputs :
226230 val : ${{ steps.host.outputs.manifest }}
227231 steps :
228- - uses : actions/checkout@v4
232+ - uses : actions/checkout@v6
229233 with :
230234 persist-credentials : false
231235 submodules : recursive
232236 - name : Install cached dist
233- uses : actions/download-artifact@v4
237+ uses : actions/download-artifact@v7
234238 with :
235239 name : cargo-dist-cache
236240 path : ~/.cargo/bin/
237241 - run : chmod +x ~/.cargo/bin/dist
238242 # Fetch artifacts from scratch-storage
239243 - name : Fetch artifacts
240- uses : actions/download-artifact@v4
244+ uses : actions/download-artifact@v7
241245 with :
242246 pattern : artifacts-*
243247 path : target/distrib/
@@ -250,14 +254,14 @@ jobs:
250254 cat dist-manifest.json
251255 echo "manifest=$(jq -c "." dist-manifest.json)" >> "$GITHUB_OUTPUT"
252256 - name : " Upload dist-manifest.json"
253- uses : actions/upload-artifact@v4
257+ uses : actions/upload-artifact@v6
254258 with :
255259 # Overwrite the previous copy
256260 name : artifacts-dist-manifest
257261 path : dist-manifest.json
258262 # Create a GitHub Release while uploading all files to it
259263 - name : " Download GitHub Artifacts"
260- uses : actions/download-artifact@v4
264+ uses : actions/download-artifact@v7
261265 with :
262266 pattern : artifacts-*
263267 path : artifacts
@@ -290,7 +294,7 @@ jobs:
290294 env :
291295 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
292296 steps :
293- - uses : actions/checkout@v4
297+ - uses : actions/checkout@v6
294298 with :
295299 persist-credentials : false
296300 submodules : recursive
0 commit comments