Skip to content

Commit

Permalink
chore(ci): add attestation
Browse files Browse the repository at this point in the history
  • Loading branch information
nathancartlidge committed May 2, 2024
1 parent 15d612d commit a84fc86
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:

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

jobs:
build:
Expand Down Expand Up @@ -55,6 +57,11 @@ jobs:
Move-Item -Path ${{ env.OUTPUT_PATH }}\${{ matrix.platform }}\Release\${{ env.DOTNET_VER }} -Destination ${{ env.OUTPUT_PATH }}\${{ matrix.platform }}\Release\UnicodeInput
Compress-Archive -Path ${{ env.OUTPUT_PATH }}\${{ matrix.platform }}\Release\UnicodeInput -DestinationPath "${{ env.PLUGIN_NAME }}-${{ env.PLUGIN_VERSION }}-${{ matrix.platform }}.zip"
- name: Generate artifact attestation
uses: actions/attest-build-provenance@v1
with:
subject-path: ${{ env.PLUGIN_NAME }}-${{ env.PLUGIN_VERSION }}-${{ matrix.platform }}.zip

- name: Upload the artifact(s)
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit a84fc86

Please sign in to comment.