5656 env :
5757 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5858 steps :
59- - uses : actions/checkout@v6
59+ - uses : actions/checkout@v4
6060 with :
6161 persist-credentials : false
6262 submodules : recursive
6666 shell : bash
6767 run : " curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.30.3/cargo-dist-installer.sh | sh"
6868 - name : Cache dist
69- uses : actions/upload-artifact@v6
69+ uses : actions/upload-artifact@v4
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@v6
85+ uses : actions/upload-artifact@v4
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@v6
119+ - uses : actions/checkout@v4
120120 with :
121121 persist-credentials : false
122122 submodules : recursive
@@ -135,7 +135,7 @@ jobs:
135135 run : ${{ matrix.install_dist.run }}
136136 # Get the dist-manifest
137137 - name : Fetch local artifacts
138- uses : actions/download-artifact@v7
138+ uses : actions/download-artifact@v4
139139 with :
140140 pattern : artifacts-*
141141 path : target/distrib/
@@ -162,7 +162,7 @@ jobs:
162162
163163 cp dist-manifest.json "$BUILD_MANIFEST_NAME"
164164 - name : " Upload artifacts"
165- uses : actions/upload-artifact@v6
165+ uses : actions/upload-artifact@v4
166166 with :
167167 name : artifacts-build-local-${{ join(matrix.targets, '_') }}
168168 path : |
@@ -179,19 +179,19 @@ jobs:
179179 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
180180 BUILD_MANIFEST_NAME : target/distrib/global-dist-manifest.json
181181 steps :
182- - uses : actions/checkout@v6
182+ - uses : actions/checkout@v4
183183 with :
184184 persist-credentials : false
185185 submodules : recursive
186186 - name : Install cached dist
187- uses : actions/download-artifact@v7
187+ uses : actions/download-artifact@v4
188188 with :
189189 name : cargo-dist-cache
190190 path : ~/.cargo/bin/
191191 - run : chmod +x ~/.cargo/bin/dist
192192 # Get all the local artifacts for the global tasks to use (for e.g. checksums)
193193 - name : Fetch local artifacts
194- uses : actions/download-artifact@v7
194+ uses : actions/download-artifact@v4
195195 with :
196196 pattern : artifacts-*
197197 path : target/distrib/
@@ -209,7 +209,7 @@ jobs:
209209
210210 cp dist-manifest.json "$BUILD_MANIFEST_NAME"
211211 - name : " Upload artifacts"
212- uses : actions/upload-artifact@v6
212+ uses : actions/upload-artifact@v4
213213 with :
214214 name : artifacts-build-global
215215 path : |
@@ -229,19 +229,19 @@ jobs:
229229 outputs :
230230 val : ${{ steps.host.outputs.manifest }}
231231 steps :
232- - uses : actions/checkout@v6
232+ - uses : actions/checkout@v4
233233 with :
234234 persist-credentials : false
235235 submodules : recursive
236236 - name : Install cached dist
237- uses : actions/download-artifact@v7
237+ uses : actions/download-artifact@v4
238238 with :
239239 name : cargo-dist-cache
240240 path : ~/.cargo/bin/
241241 - run : chmod +x ~/.cargo/bin/dist
242242 # Fetch artifacts from scratch-storage
243243 - name : Fetch artifacts
244- uses : actions/download-artifact@v7
244+ uses : actions/download-artifact@v4
245245 with :
246246 pattern : artifacts-*
247247 path : target/distrib/
@@ -254,14 +254,14 @@ jobs:
254254 cat dist-manifest.json
255255 echo "manifest=$(jq -c "." dist-manifest.json)" >> "$GITHUB_OUTPUT"
256256 - name : " Upload dist-manifest.json"
257- uses : actions/upload-artifact@v6
257+ uses : actions/upload-artifact@v4
258258 with :
259259 # Overwrite the previous copy
260260 name : artifacts-dist-manifest
261261 path : dist-manifest.json
262262 # Create a GitHub Release while uploading all files to it
263263 - name : " Download GitHub Artifacts"
264- uses : actions/download-artifact@v7
264+ uses : actions/download-artifact@v4
265265 with :
266266 pattern : artifacts-*
267267 path : artifacts
@@ -294,7 +294,7 @@ jobs:
294294 env :
295295 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
296296 steps :
297- - uses : actions/checkout@v6
297+ - uses : actions/checkout@v4
298298 with :
299299 persist-credentials : false
300300 submodules : recursive
0 commit comments