@@ -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
@@ -192,27 +194,24 @@ jobs:
192
194
unzip out/${{ env.PLUGIN_NAME }}-generic.zip -d attest_provenance
193
195
cp --archive out/${{ env.PLUGIN_NAME }}-generic.zip attest_provenance
194
196
197
+ - name : Clean up dll files
198
+ run : |
199
+ pushd attest_provenance/${{ env.PLUGIN_NAME }}
200
+ rm -rf NLog.dll SteamKit2.dll System.IO.Hashing.dll protobuf-net.Core.dll protobuf-net.dll
201
+ popd
202
+
195
203
- uses : actions/attest-build-provenance@v1
196
204
with :
197
- subject-path : ' attest_provenance/*'
205
+ subject-path : ' attest_provenance/*'
198
206
199
207
- name : Create GitHub release
200
208
id : github_release
201
- uses : actions/create-release@v1.1.4
202
- env :
203
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
209
+ uses : softprops/action-gh-release@v2.0.8
204
210
with :
205
211
tag_name : ${{ github.ref }}
206
- release_name : ${{ env.PLUGIN_NAME }} ${{ github.ref }}
212
+ name : ${{ env.PLUGIN_NAME }} ${{ github.ref }}
207
213
body_path : .github/RELEASE_TEMPLATE.md
208
214
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
215
+ files : |
216
+ out/${{ env.PLUGIN_NAME }}-generic.zip
217
+ attest_provenance/${{ env.PLUGIN_NAME }}/ASFFreeGames.dll
0 commit comments