Skip to content

Commit 286eb9a

Browse files
committed
feat: support release attestations
1 parent 5fccb29 commit 286eb9a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,12 @@ jobs:
7878
# Uploading the relevant artifact to the GitHub release.
7979
- run: just release-run ${{ secrets.GITHUB_TOKEN }} ${{ github.event.inputs.sha }} ${{ github.event.inputs.tag }}
8080
if: ${{ github.event.inputs.dry-run == 'false' }}
81+
82+
# We filter by *.tar.@(zst|gz) since actions/attest-build-provenance only supports up to 1024 subjects
83+
- name: Generate attestations
84+
uses: actions/attest-build-provenance@v2
85+
if: ${{ github.event.inputs.dry-run == 'false' }}
86+
with:
87+
subject-path: |
88+
dist/*.tar.gz
89+
dist/*.tar.zst

0 commit comments

Comments
 (0)