Skip to content

Commit 973c31f

Browse files
authored
Update release.yml
1 parent e329847 commit 973c31f

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
@@ -8,7 +8,9 @@ on:
88

99
permissions:
1010
contents: write
11-
11+
id-token: write
12+
attestations: write
13+
1214
jobs:
1315
release:
1416
runs-on: windows-2022
@@ -27,3 +29,9 @@ jobs:
2729
GH_TOKEN: ${{ github.token }}
2830
run: |
2931
gh release upload ${{ github.ref_name }} app/bin/x64/Release/net8.0-windows/win-x64/publish/GHelper.exe GHelper.zip
32+
- name: Generate SLSA build provenance attestation
33+
uses: actions/attest-build-provenance@v2
34+
with:
35+
subject-path: |
36+
app/bin/x64/Release/net8.0-windows/win-x64/publish/GHelper.exe
37+
GHelper.zip

0 commit comments

Comments
 (0)