Enable attestation of release builds

Per https://github.com/actions/attest-build-provenance

Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
This commit is contained in:
Chris Hennick 2024-05-15 20:44:04 -07:00 committed by GitHub
parent 3e81fddb78
commit 6fa4486089
Signed by: DevComp
GPG key ID: B5690EEEBB952194

View file

@ -6,6 +6,8 @@ on:
permissions:
pull-requests: write
contents: write
id-token: write
attestations: write
jobs:
release-plz:
name: Release-plz
@ -25,4 +27,7 @@ jobs:
uses: MarcoIeni/release-plz-action@v0.5
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_PLZ_PAT }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
- uses: actions/attest-build-provenance@v1
with:
subject-path: target/release/libzip.rlib