diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 71b790b..92b9c9c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,6 +10,8 @@ jobs: runs-on: ubuntu-latest permissions: contents: write + id-token: write + attestations: write steps: - uses: actions/checkout@v4 with: @@ -54,6 +56,14 @@ jobs: if: steps.check.outputs.exists == 'false' run: npm run build + - name: Attest build provenance + if: steps.check.outputs.exists == 'false' + uses: actions/attest-build-provenance@v2 + with: + subject-path: | + main.js + styles.css + - name: Tag and create release if: steps.check.outputs.exists == 'false' env: