File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ jobs:
118118 - name : Package the crate
119119 run : cargo package --locked -p "$CRATE"
120120 - name : Attest build provenance
121- uses : actions/attest-build-provenance @v4
121+ uses : actions/attest@v4
122122 with :
123123 subject-path : target/package/${{ needs.verify-tag.outputs.crate }}-${{ needs.verify-tag.outputs.version }}.crate
124124 - name : Authenticate to crates.io
Original file line number Diff line number Diff line change @@ -261,8 +261,8 @@ jobs:
261261 if : startsWith(github.ref, 'refs/tags/payjoin-csharp-')
262262 environment : release
263263 permissions :
264- id-token : write # OIDC: used by BOTH NuGet/login and attest-build-provenance
265- attestations : write # actions/attest-build-provenance writes the attestation
264+ id-token : write # OIDC: used by BOTH NuGet/login and actions/ attest
265+ attestations : write # actions/attest writes the attestation
266266 contents : read # needed only to check out the in-repo verify-tag-version action
267267 steps :
268268 - name : Checkout
@@ -305,7 +305,7 @@ jobs:
305305 - name : Attest build provenance (nupkg)
306306 # Attesting the .nupkg covers every RID native lib inside it; a consumer
307307 # runs: gh attestation verify <file>.nupkg -R payjoin/rust-payjoin
308- uses : actions/attest-build-provenance @v4
308+ uses : actions/attest@v4
309309 with :
310310 subject-path : ${{ steps.locate.outputs.nupkg }}
311311
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ jobs:
100100 environment : release
101101 permissions :
102102 id-token : write # OIDC: npm trusted publishing and its provenance statement
103- attestations : write # actions/attest-build-provenance writes the attestation
103+ attestations : write # actions/attest writes the attestation
104104 contents : read # needed only to check out the in-repo verify-tag-version action
105105 steps :
106106 - name : Checkout
@@ -147,7 +147,7 @@ jobs:
147147
148148 - name : Attest build provenance (tarball)
149149 # A consumer runs: gh attestation verify <file>.tgz -R payjoin/rust-payjoin
150- uses : actions/attest-build-provenance @v4
150+ uses : actions/attest@v4
151151 with :
152152 subject-path : ${{ steps.locate.outputs.tarball }}
153153
You can’t perform that action at this time.
0 commit comments