Skip to content

Commit 9f93515

Browse files
author
madalee-com
committed
Attempt to add attestations to build artifacts in CI
1 parent 4d7bef2 commit 9f93515

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/godot-ci.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
- v*
88
permissions:
99
contents: write
10+
id-token: write
11+
contents: read
12+
attestations: write
1013

1114
env:
1215
GODOT_VERSION: 4.6
@@ -41,6 +44,10 @@ jobs:
4144
with:
4245
name: win64
4346
path: build/win64
47+
- name: Generate artifact attestation
48+
uses: actions/attest-build-provenance@v3
49+
with:
50+
subject-path: build/win64/Godot-Show_win64.exe
4451
- name: Release
4552
if: startsWith(github.ref, 'refs/tags/v')
4653
uses: softprops/action-gh-release@v2
@@ -75,6 +82,10 @@ jobs:
7582
with:
7683
name: linux_x86_x64
7784
path: build/linux_x86_x64
85+
- name: Generate artifact attestation
86+
uses: actions/attest-build-provenance@v3
87+
with:
88+
subject-path: build/linux_x86_x64/Godot-Show_linux.x86_64
7889
- name: Release
7990
if: startsWith(github.ref, 'refs/tags/v')
8091
uses: softprops/action-gh-release@v2
@@ -142,6 +153,10 @@ jobs:
142153
with:
143154
name: macos
144155
path: build/macos
156+
- name: Generate artifact attestation
157+
uses: actions/attest-build-provenance@v3
158+
with:
159+
subject-path: build/macos/Godot-Show_macos.zip
145160
- name: Release
146161
if: startsWith(github.ref, 'refs/tags/v')
147162
uses: softprops/action-gh-release@v2

0 commit comments

Comments
 (0)