Skip to content

Commit 282ccd9

Browse files
committed
ci: also upload provenance
Signed-off-by: Zxilly <zxilly@outlook.com>
1 parent a33a752 commit 282ccd9

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,14 @@ jobs:
6464
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6565

6666
- name: Attest build provenance
67+
id: attest
6768
uses: actions/attest-build-provenance@bdd51370e0416ac948727f861e03c2f05d32d78e # v1.3.2
6869
with:
69-
subject-path: 'dist/go-size-analyzer*.*'
70+
subject-path: 'dist/go-size-analyzer*.*'
71+
72+
- name: Upload build provenance
73+
uses: svenstaro/upload-release-action@04733e069f2d7f7f0b4aebc4fbdbce8613b03ccd # v2.9.0
74+
with:
75+
asset_name: attestations.intoto.jsonl
76+
file: ${{ steps.attest.outputs.bundle-path }}
77+
overwrite: false

0 commit comments

Comments
 (0)