Skip to content

Commit

Permalink
ci: fix attestation
Browse files Browse the repository at this point in the history
  • Loading branch information
robjtede committed Jun 19, 2024
1 parent 8819f6c commit 399881d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:

permissions:
contents: write
id-token: write
attestations: write

env:
CARGO_INCREMENTAL: 0
Expand Down Expand Up @@ -75,12 +77,10 @@ jobs:
with:
bin: inspect-cert-chain
target: ${{ matrix.target }}
tar: all
zip: all
checksum: sha256,sha512
checksum: sha256
token: ${{ secrets.GITHUB_TOKEN }}

- name: Generate artifact attestation
uses: actions/attest-build-provenance@v1
with:
subject-path: ${{ steps.upload-release.outputs.zip }}
subject-path: "${{ steps.upload-release.outputs.archive }}.*"

0 comments on commit 399881d

Please sign in to comment.