File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -169,6 +169,9 @@ jobs:
169
169
if : ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') }}
170
170
needs : publish
171
171
runs-on : ubuntu-latest
172
+ permissions :
173
+ id-token : write
174
+ attestations : write
172
175
173
176
steps :
174
177
- name : Checkout code
@@ -183,6 +186,16 @@ jobs:
183
186
name : windows-latest_${{ env.PLUGIN_NAME }}-generic
184
187
path : out
185
188
189
+ - name : Unzip and copy generic artifact
190
+ run : |
191
+ mkdir -p attest_provenance
192
+ unzip out/${{ env.PLUGIN_NAME }}-generic.zip -d attest_provenance
193
+ cp --archive out/${{ env.PLUGIN_NAME }}-generic.zip attest_provenance
194
+
195
+ - uses : actions/attest-build-provenance@v1
196
+ with :
197
+ subject-path : ' attest_provenance/*'
198
+
186
199
- name : Create GitHub release
187
200
id : github_release
188
201
uses : actions/create-release@v1.1.4
You can’t perform that action at this time.
0 commit comments