File tree Expand file tree Collapse file tree 1 file changed +7
-14
lines changed Expand file tree Collapse file tree 1 file changed +7
-14
lines changed Original file line number Diff line number Diff line change @@ -172,6 +172,8 @@ jobs:
172
172
permissions :
173
173
id-token : write
174
174
attestations : write
175
+ packages : write
176
+ contents : write
175
177
176
178
steps :
177
179
- name : Checkout code
@@ -194,25 +196,16 @@ jobs:
194
196
195
197
- uses : actions/attest-build-provenance@v1
196
198
with :
197
- subject-path : ' attest_provenance/*'
199
+ subject-path : ' attest_provenance/*'
198
200
199
201
- name : Create GitHub release
200
202
id : github_release
201
- uses : actions/create-release@v1.1.4
202
- env :
203
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
203
+ uses : softprops/action-gh-release@v2.0.8
204
204
with :
205
205
tag_name : ${{ github.ref }}
206
206
release_name : ${{ env.PLUGIN_NAME }} ${{ github.ref }}
207
207
body_path : .github/RELEASE_TEMPLATE.md
208
208
prerelease : true
209
-
210
- - name : Upload generic to GitHub release
211
- uses : actions/upload-release-asset@v1.0.2
212
- env :
213
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
214
- with :
215
- upload_url : ${{ steps.github_release.outputs.upload_url }}
216
- asset_path : out/${{ env.PLUGIN_NAME }}-generic.zip
217
- asset_name : ${{ env.PLUGIN_NAME }}-generic.zip
218
- asset_content_type : application/zip
209
+ files : |
210
+ out/${{ env.PLUGIN_NAME }}-generic.zip
211
+ attest_provenance/ASFFreeGames*.dll*
You can’t perform that action at this time.
0 commit comments