Skip to content

Commit

Permalink
Merge remote-tracking branch 'remotes/origin/main' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
maxisoft committed Sep 9, 2024
2 parents 96ded33 + 4320f88 commit 78b042a
Showing 1 changed file with 14 additions and 15 deletions.
29 changes: 14 additions & 15 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,8 @@ jobs:
permissions:
id-token: write
attestations: write
packages: write
contents: write

steps:
- name: Checkout code
Expand All @@ -192,27 +194,24 @@ jobs:
unzip out/${{ env.PLUGIN_NAME }}-generic.zip -d attest_provenance
cp --archive out/${{ env.PLUGIN_NAME }}-generic.zip attest_provenance
- name: Clean up dll files
run: |
pushd attest_provenance/${{ env.PLUGIN_NAME }}
rm -rf NLog.dll SteamKit2.dll System.IO.Hashing.dll protobuf-net.Core.dll protobuf-net.dll
popd
- uses: actions/attest-build-provenance@v1
with:
subject-path: 'attest_provenance/*'
subject-path: 'attest_provenance/*'

- name: Create GitHub release
id: github_release
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: softprops/[email protected]
with:
tag_name: ${{ github.ref }}
release_name: ${{ env.PLUGIN_NAME }} ${{ github.ref }}
name: ${{ env.PLUGIN_NAME }} ${{ github.ref }}
body_path: .github/RELEASE_TEMPLATE.md
prerelease: true

- name: Upload generic to GitHub release
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.github_release.outputs.upload_url }}
asset_path: out/${{ env.PLUGIN_NAME }}-generic.zip
asset_name: ${{ env.PLUGIN_NAME }}-generic.zip
asset_content_type: application/zip
files: |
out/${{ env.PLUGIN_NAME }}-generic.zip
attest_provenance/${{ env.PLUGIN_NAME }}/ASFFreeGames.dll

0 comments on commit 78b042a

Please sign in to comment.