4141 pull_request :
4242 push :
4343 tags :
44- - ' ** [0-9]+ .[0-9]+ .[0-9]+ *'
44+ - ' v [0-9]* .[0-9]* .[0-9]*'
4545
4646jobs :
4747 # Run 'dist plan' (or host) to determine what tasks we need to do
6565 shell : bash
6666 run : " curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.31.0/cargo-dist-installer.sh | sh"
6767 - name : Cache dist
68- uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
68+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
6969 with :
7070 name : cargo-dist-cache
7171 path : ~/.cargo/bin/dist
8181 cat plan-dist-manifest.json
8282 echo "manifest=$(jq -c "." plan-dist-manifest.json)" >> "$GITHUB_OUTPUT"
8383 - name : " Upload dist-manifest.json"
84- uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
84+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
8585 with :
8686 name : artifacts-plan-dist-manifest
8787 path : plan-dist-manifest.json
@@ -145,7 +145,7 @@ jobs:
145145 run : ${{ matrix.install_dist.run }}
146146 # Get the dist-manifest
147147 - name : Fetch local artifacts
148- uses : actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7
148+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
149149 with :
150150 pattern : artifacts-*
151151 path : target/distrib/
@@ -174,7 +174,7 @@ jobs:
174174 --team-id "$APPLE_NOTARIZE_TEAM_ID" \
175175 --wait
176176 - name : Attest
177- uses : actions/attest-build-provenance@977bb373ede98d70efdf65b84cb5f73e068dcc2a # v3
177+ uses : actions/attest-build-provenance@a2bbfa25375fe432b6a289bc6b6cd05ecd0c4c32 # v4.1.0
178178 with :
179179 subject-path : " target/distrib/*${{ join(matrix.targets, ', ') }}*"
180180 - id : cargo-dist
@@ -191,7 +191,7 @@ jobs:
191191
192192 cp dist-manifest.json "$BUILD_MANIFEST_NAME"
193193 - name : " Upload artifacts"
194- uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
194+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
195195 with :
196196 name : artifacts-build-local-${{ join(matrix.targets, '_') }}
197197 path : |
@@ -213,14 +213,14 @@ jobs:
213213 persist-credentials : false
214214 submodules : recursive
215215 - name : Install cached dist
216- uses : actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7
216+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
217217 with :
218218 name : cargo-dist-cache
219219 path : ~/.cargo/bin/
220220 - run : chmod +x ~/.cargo/bin/dist
221221 # Get all the local artifacts for the global tasks to use (for e.g. checksums)
222222 - name : Fetch local artifacts
223- uses : actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7
223+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
224224 with :
225225 pattern : artifacts-*
226226 path : target/distrib/
@@ -238,7 +238,7 @@ jobs:
238238
239239 cp dist-manifest.json "$BUILD_MANIFEST_NAME"
240240 - name : " Upload artifacts"
241- uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
241+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
242242 with :
243243 name : artifacts-build-global
244244 path : |
@@ -265,14 +265,14 @@ jobs:
265265 persist-credentials : false
266266 submodules : recursive
267267 - name : Install cached dist
268- uses : actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7
268+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
269269 with :
270270 name : cargo-dist-cache
271271 path : ~/.cargo/bin/
272272 - run : chmod +x ~/.cargo/bin/dist
273273 # Fetch artifacts from scratch-storage
274274 - name : Fetch artifacts
275- uses : actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7
275+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
276276 with :
277277 pattern : artifacts-*
278278 path : target/distrib/
@@ -285,14 +285,14 @@ jobs:
285285 cat dist-manifest.json
286286 echo "manifest=$(jq -c "." dist-manifest.json)" >> "$GITHUB_OUTPUT"
287287 - name : " Upload dist-manifest.json"
288- uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
288+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
289289 with :
290290 # Overwrite the previous copy
291291 name : artifacts-dist-manifest
292292 path : dist-manifest.json
293293 # Create a GitHub Release while uploading all files to it
294294 - name : " Download GitHub Artifacts"
295- uses : actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7
295+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
296296 with :
297297 pattern : artifacts-*
298298 path : artifacts
0 commit comments