1- # This file was autogenerated by dist: https://opensource.axo.dev /cargo-dist/
1+ # This file was autogenerated by dist: https://axodotdev.github.io /cargo-dist
22#
33# Copyright 2022-2024, axodotdev
44# SPDX-License-Identifier: MIT or Apache-2.0
@@ -60,12 +60,13 @@ jobs:
6060 steps :
6161 - uses : actions/checkout@v4
6262 with :
63+ persist-credentials : false
6364 submodules : recursive
6465 - name : Install dist
6566 # we specify bash to get pipefail; it guards against the `curl` command
6667 # failing. otherwise `sh` won't catch that `curl` returned non-0
6768 shell : bash
68- run : " curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.28 .0/cargo-dist-installer.sh | sh"
69+ run : " curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.30 .0/cargo-dist-installer.sh | sh"
6970 - name : Cache dist
7071 uses : actions/upload-artifact@v4
7172 with :
@@ -119,6 +120,7 @@ jobs:
119120 git config --global core.longpaths true
120121 - uses : actions/checkout@v4
121122 with :
123+ persist-credentials : false
122124 submodules : recursive
123125 - name : Install Rust non-interactively if not already installed
124126 if : ${{ matrix.container }}
@@ -145,7 +147,7 @@ jobs:
145147 dist build ${{ needs.plan.outputs.tag-flag }} --print=linkage --output-format=json ${{ matrix.dist_args }} > dist-manifest.json
146148 echo "dist ran successfully"
147149 - name : Attest
148- uses : actions/attest-build-provenance@v1
150+ uses : actions/attest-build-provenance@v2
149151 with :
150152 subject-path : " target/distrib/*${{ join(matrix.targets, ', ') }}*"
151153 - id : cargo-dist
@@ -181,6 +183,7 @@ jobs:
181183 steps :
182184 - uses : actions/checkout@v4
183185 with :
186+ persist-credentials : false
184187 submodules : recursive
185188 - name : Install cached dist
186189 uses : actions/download-artifact@v4
@@ -230,6 +233,7 @@ jobs:
230233 steps :
231234 - uses : actions/checkout@v4
232235 with :
236+ persist-credentials : false
233237 submodules : recursive
234238 - name : Install cached dist
235239 uses : actions/download-artifact@v4
@@ -294,4 +298,5 @@ jobs:
294298 steps :
295299 - uses : actions/checkout@v4
296300 with :
301+ persist-credentials : false
297302 submodules : recursive
0 commit comments