We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents abbabfc + 9a9fef8 commit e747875Copy full SHA for e747875
1 file changed
.github/workflows/release.yml
@@ -53,6 +53,15 @@ jobs:
53
AUR_KEY: ${{ secrets.AUR_KEY }}
54
HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}
55
- name: Generate release artifact attestation
56
+ id: attest
57
uses: actions/attest-build-provenance@a2bbfa25375fe432b6a289bc6b6cd05ecd0c4c32 # v4.1.0
58
with:
59
subject-checksums: dist/checksums.txt
60
+ - name: Upload release provenance bundle
61
+ env:
62
+ ATTESTATION_BUNDLE: ${{ steps.attest.outputs.bundle-path }}
63
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
64
+ run: |
65
+ set -euo pipefail
66
+ jq -c . "$ATTESTATION_BUNDLE" > dist/checksums.txt.intoto.jsonl
67
+ gh release upload "${GITHUB_REF_NAME}" dist/checksums.txt.intoto.jsonl --clobber
0 commit comments