4242 pull_request :
4343 push :
4444 tags :
45- - " **[0-9]+.[0-9]+.[0-9]+*"
45+ - ' **[0-9]+.[0-9]+.[0-9]+*'
4646
4747jobs :
4848 # Run 'dist plan' (or host) to determine what tasks we need to do
@@ -56,17 +56,17 @@ jobs:
5656 env :
5757 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5858 steps :
59- - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
59+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
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@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
69+ uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f
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@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
85+ uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f
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@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
119+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
120120 with :
121121 persist-credentials : false
122122 submodules : recursive
@@ -131,7 +131,7 @@ jobs:
131131 run : ${{ matrix.install_dist.run }}
132132 # Get the dist-manifest
133133 - name : Fetch local artifacts
134- uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
134+ uses : actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131
135135 with :
136136 pattern : artifacts-*
137137 path : target/distrib/
@@ -158,7 +158,7 @@ jobs:
158158
159159 cp dist-manifest.json "$BUILD_MANIFEST_NAME"
160160 - name : " Upload artifacts"
161- uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
161+ uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f
162162 with :
163163 name : artifacts-build-local-${{ join(matrix.targets, '_') }}
164164 path : |
@@ -185,19 +185,19 @@ jobs:
185185 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
186186 BUILD_MANIFEST_NAME : target/distrib/global-dist-manifest.json
187187 steps :
188- - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
188+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
189189 with :
190190 persist-credentials : false
191191 submodules : recursive
192192 - name : Install cached dist
193- uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
193+ uses : actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131
194194 with :
195195 name : cargo-dist-cache
196196 path : ~/.cargo/bin/
197197 - run : chmod +x ~/.cargo/bin/dist
198198 # Get all the local artifacts for the global tasks to use (for e.g. checksums)
199199 - name : Fetch local artifacts
200- uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
200+ uses : actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131
201201 with :
202202 pattern : artifacts-*
203203 path : target/distrib/
@@ -215,7 +215,7 @@ jobs:
215215
216216 cp dist-manifest.json "$BUILD_MANIFEST_NAME"
217217 - name : " Upload artifacts"
218- uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
218+ uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f
219219 with :
220220 name : artifacts-build-global
221221 path : |
@@ -236,19 +236,19 @@ jobs:
236236 outputs :
237237 val : ${{ steps.host.outputs.manifest }}
238238 steps :
239- - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
239+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
240240 with :
241241 persist-credentials : false
242242 submodules : recursive
243243 - name : Install cached dist
244- uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
244+ uses : actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131
245245 with :
246246 name : cargo-dist-cache
247247 path : ~/.cargo/bin/
248248 - run : chmod +x ~/.cargo/bin/dist
249249 # Fetch artifacts from scratch-storage
250250 - name : Fetch artifacts
251- uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
251+ uses : actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131
252252 with :
253253 pattern : artifacts-*
254254 path : target/distrib/
@@ -261,14 +261,14 @@ jobs:
261261 cat dist-manifest.json
262262 echo "manifest=$(jq -c "." dist-manifest.json)" >> "$GITHUB_OUTPUT"
263263 - name : " Upload dist-manifest.json"
264- uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
264+ uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f
265265 with :
266266 # Overwrite the previous copy
267267 name : artifacts-dist-manifest
268268 path : dist-manifest.json
269269 # Create a GitHub Release while uploading all files to it
270270 - name : " Download GitHub Artifacts"
271- uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
271+ uses : actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131
272272 with :
273273 pattern : artifacts-*
274274 path : artifacts
@@ -311,7 +311,7 @@ jobs:
311311 env :
312312 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
313313 steps :
314- - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
314+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
315315 with :
316316 persist-credentials : false
317317 submodules : recursive
0 commit comments