File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,10 +2,12 @@ name: Package Application
22
33on : [push]
44permissions :
5- id-token : " write"
6- contents : " write"
7- packages : " write"
8- pull-requests : " read"
5+ id-token : write
6+ contents : write
7+ packages : write
8+ pull-requests : read
9+ attestations : write
10+ artifact-metadata : write
911
1012jobs :
1113 win-pyinstaller :
6971 --exclude-module PySide6.QtUiTools
7072 run.py
7173
74+ - name : Attest build provenance
75+ uses : actions/attest@v4
76+ with :
77+ subject-path : dist/main.exe
78+
7279 - name : Upload package
7380 uses : actions/upload-artifact@v7
7481 with :
@@ -107,6 +114,11 @@ jobs:
107114 output-file : main.exe
108115 disable-cache : true
109116
117+ - name : Attest build provenance
118+ uses : actions/attest@v4
119+ with :
120+ subject-path : build/main.exe
121+
110122 - name : Upload package
111123 uses : actions/upload-artifact@v7
112124 with :
@@ -180,6 +192,11 @@ jobs:
180192 cd dist
181193 zip -r9 checker.zip main.app/
182194
195+ - name : Attest build provenance
196+ uses : actions/attest@v4
197+ with :
198+ subject-path : dist/checker.zip
199+
183200 - name : Upload package
184201 uses : actions/upload-artifact@v7
185202 with :
You can’t perform that action at this time.
0 commit comments