5555 env :
5656 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5757 steps :
58- - uses : actions/checkout@v6
58+ - uses : actions/checkout@v4
5959 with :
6060 persist-credentials : false
6161 submodules : recursive
6767 shell : bash
6868 run : " curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.30.3/cargo-dist-installer.sh | sh"
6969 - name : Cache dist
70- uses : actions/upload-artifact@v6
70+ uses : actions/upload-artifact@v4
7171 with :
7272 name : cargo-dist-cache
7373 path : ~/.cargo/bin/dist
8383 cat plan-dist-manifest.json
8484 echo "manifest=$(jq -c "." plan-dist-manifest.json)" >> "$GITHUB_OUTPUT"
8585 - name : " Upload dist-manifest.json"
86- uses : actions/upload-artifact@v6
86+ uses : actions/upload-artifact@v4
8787 with :
8888 name : artifacts-plan-dist-manifest
8989 path : plan-dist-manifest.json
@@ -117,7 +117,7 @@ jobs:
117117 - name : enable windows longpaths
118118 run : |
119119 git config --global core.longpaths true
120- - uses : actions/checkout@v6
120+ - uses : actions/checkout@v4
121121 with :
122122 persist-credentials : false
123123 submodules : recursive
@@ -134,7 +134,7 @@ jobs:
134134 run : ${{ matrix.install_dist.run }}
135135 # Get the dist-manifest
136136 - name : Fetch local artifacts
137- uses : actions/download-artifact@v7
137+ uses : actions/download-artifact@v4
138138 with :
139139 pattern : artifacts-*
140140 path : target/distrib/
@@ -161,7 +161,7 @@ jobs:
161161
162162 cp dist-manifest.json "$BUILD_MANIFEST_NAME"
163163 - name : " Upload artifacts"
164- uses : actions/upload-artifact@v6
164+ uses : actions/upload-artifact@v4
165165 with :
166166 name : artifacts-build-local-${{ join(matrix.targets, '_') }}
167167 path : |
@@ -178,21 +178,21 @@ jobs:
178178 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
179179 BUILD_MANIFEST_NAME : target/distrib/global-dist-manifest.json
180180 steps :
181- - uses : actions/checkout@v6
181+ - uses : actions/checkout@v4
182182 with :
183183 persist-credentials : false
184184 submodules : recursive
185185 - name : Install Rust
186186 run : rustup update "stable" --no-self-update && rustup default "stable"
187187 - name : Install cached dist
188- uses : actions/download-artifact@v7
188+ uses : actions/download-artifact@v4
189189 with :
190190 name : cargo-dist-cache
191191 path : ~/.cargo/bin/
192192 - run : chmod +x ~/.cargo/bin/dist
193193 # Get all the local artifacts for the global tasks to use (for e.g. checksums)
194194 - name : Fetch local artifacts
195- uses : actions/download-artifact@v7
195+ uses : actions/download-artifact@v4
196196 with :
197197 pattern : artifacts-*
198198 path : target/distrib/
@@ -210,7 +210,7 @@ jobs:
210210
211211 cp dist-manifest.json "$BUILD_MANIFEST_NAME"
212212 - name : " Upload artifacts"
213- uses : actions/upload-artifact@v6
213+ uses : actions/upload-artifact@v4
214214 with :
215215 name : artifacts-build-global
216216 path : |
@@ -230,21 +230,21 @@ jobs:
230230 outputs :
231231 val : ${{ steps.host.outputs.manifest }}
232232 steps :
233- - uses : actions/checkout@v6
233+ - uses : actions/checkout@v4
234234 with :
235235 persist-credentials : false
236236 submodules : recursive
237237 - name : Install Rust
238238 run : rustup update "stable" --no-self-update && rustup default "stable"
239239 - name : Install cached dist
240- uses : actions/download-artifact@v7
240+ uses : actions/download-artifact@v4
241241 with :
242242 name : cargo-dist-cache
243243 path : ~/.cargo/bin/
244244 - run : chmod +x ~/.cargo/bin/dist
245245 # Fetch artifacts from scratch-storage
246246 - name : Fetch artifacts
247- uses : actions/download-artifact@v7
247+ uses : actions/download-artifact@v4
248248 with :
249249 pattern : artifacts-*
250250 path : target/distrib/
@@ -258,7 +258,7 @@ jobs:
258258 cat dist-manifest.json
259259 echo "manifest=$(jq -c "." dist-manifest.json)" >> "$GITHUB_OUTPUT"
260260 - name : " Upload dist-manifest.json"
261- uses : actions/upload-artifact@v6
261+ uses : actions/upload-artifact@v4
262262 with :
263263 # Overwrite the previous copy
264264 name : artifacts-dist-manifest
@@ -277,13 +277,13 @@ jobs:
277277 env :
278278 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
279279 steps :
280- - uses : actions/checkout@v6
280+ - uses : actions/checkout@v4
281281 with :
282282 persist-credentials : false
283283 submodules : recursive
284284 # Create a GitHub Release while uploading all files to it
285285 - name : " Download GitHub Artifacts"
286- uses : actions/download-artifact@v7
286+ uses : actions/download-artifact@v4
287287 with :
288288 pattern : artifacts-*
289289 path : artifacts
0 commit comments