Skip to content

Commit

Permalink
Add attestation
Browse files Browse the repository at this point in the history
  • Loading branch information
Citrinate committed Jan 7, 2025
1 parent 5747aca commit 8994c4b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ jobs:

permissions:
contents: write
attestations: write
id-token: write

steps:
- name: Checkout code
Expand All @@ -67,6 +69,11 @@ jobs:
cd out
7z a -tzip -mx7 ${{ env.PLUGIN_NAME }}.zip *
- name: Generate artifact attestation
uses: actions/attest-build-provenance@v2
with:
subject-path: 'out/${{ env.PLUGIN_NAME }}.zip'

- name: Create ${{ env.PLUGIN_NAME }} GitHub release
uses: ncipollo/release-action@v1.13.0
with:
Expand Down

0 comments on commit 8994c4b

Please sign in to comment.