Skip to content

Commit

Permalink
Try Artifact Attestations
Browse files Browse the repository at this point in the history
  • Loading branch information
ianichitei authored May 8, 2024
1 parent 1fa6505 commit 802f285
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ jobs:

runs-on: windows-latest

permissions:
attestations: write

steps:
- uses: actions/checkout@v3
- name: Add msbuild to PATH
Expand All @@ -91,6 +94,11 @@ jobs:
del bin\Win32\Release\*.ipdb
tar.exe -acf x64-windows-release.zip bin\x64\Release
tar.exe -acf x86-windows-release.zip bin\Win32\Release
- name: Attest Build Provenance
if: ${{ github.event_name == 'release' }}
uses: actions/attest-build-provenance@897ed5eab6ed058a474202017ada7f40bfa52940 # v1.0.0
with:
subject-path: '*-windows-release.zip'
- name: Release
if: ${{ github.event_name == 'release' }}
uses: AButler/[email protected]
Expand Down

0 comments on commit 802f285

Please sign in to comment.