mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +01:00
Add Attestations to Dalamud CI (#1848)
This commit is contained in:
parent
d244f7e09e
commit
5d2942786f
1 changed files with 15 additions and 0 deletions
15
.github/workflows/main.yml
vendored
15
.github/workflows/main.yml
vendored
|
|
@ -7,6 +7,10 @@ concurrency:
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build on Windows
|
name: Build on Windows
|
||||||
|
permissions:
|
||||||
|
id-token: write
|
||||||
|
contents: read
|
||||||
|
attestations: write
|
||||||
runs-on: windows-2022
|
runs-on: windows-2022
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Dalamud
|
- name: Checkout Dalamud
|
||||||
|
|
@ -40,6 +44,17 @@ jobs:
|
||||||
run: .\sign.ps1 .\bin\Release
|
run: .\sign.ps1 .\bin\Release
|
||||||
- name: Create hashlist
|
- name: Create hashlist
|
||||||
run: .\CreateHashList.ps1 .\bin\Release
|
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
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue