From 802f2854cdeec37bbe8deccfcbee19ba2a367fc9 Mon Sep 17 00:00:00 2001 From: Anichitei Ionel-Cristinel <49393881+ianichitei@users.noreply.github.com> Date: Wed, 8 May 2024 08:03:20 +0300 Subject: [PATCH] Try Artifact Attestations --- .github/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 926dee5..3c6f491 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -68,6 +68,9 @@ jobs: runs-on: windows-latest + permissions: + attestations: write + steps: - uses: actions/checkout@v3 - name: Add msbuild to PATH @@ -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/upload-release-assets@v2.0.2