Skip to content

Commit b5c2423

Browse files
committed
Enable attestation of artifact in release workflow
1 parent 9763679 commit b5c2423

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66

77
permissions:
88
id-token: write
9+
attestations: write
910
contents: write
1011

1112
env:
@@ -49,6 +50,12 @@ jobs:
4950
- name: pack
5051
run: dotnet pack --no-build --no-restore -o dist
5152

53+
- name: attestation
54+
uses: actions/attest-build-provenance@v3
55+
with:
56+
subject-path: 'dist/*.nupkg'
57+
show-summary: true
58+
5259
- name: publish artifact
5360
uses: actions/upload-artifact@v5
5461
with:

0 commit comments

Comments
 (0)