Add Attestations to Dalamud CI (#1848)

This commit is contained in:
KazWolfe 2024-06-21 01:00:13 -07:00 committed by GitHub
parent d244f7e09e
commit 5d2942786f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,6 +7,10 @@ concurrency:
jobs:
build:
name: Build on Windows
permissions:
id-token: write
contents: read
attestations: write
runs-on: windows-2022
steps:
- name: Checkout Dalamud
@ -40,6 +44,17 @@ jobs:
run: .\sign.ps1 .\bin\Release
- name: Create hashlist
run: .\CreateHashList.ps1 .\bin\Release
- name: Attest Build
if: ${{ github.repository_owner == 'goatcorp' && github.event_name == 'push' }}
uses: actions/attest-build-provenance@v1
with:
subject-path: |
bin/Release/hashes.json
bin/Release/Dalamud.dll
bin/Release/DalamudCrashHandler.exe
bin/Release/Dalamud.*.dll
bin/Release/Dalamud.*.exe
bin/Release/FFXIVClientStructs.dll
- name: Upload artifact
uses: actions/upload-artifact@v2
with: