Skip to content

Commit 6f3409d

Browse files
authored
Update c-cpp.yml
First attempt to test how attestations work
1 parent 48405b7 commit 6f3409d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/c-cpp.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Build
22
on: [push, pull_request]
3+
permissions:
4+
id-token: write
5+
contents: read
6+
attestations: write
37
jobs:
48
build-project:
59
name: Build Project
@@ -10,3 +14,8 @@ jobs:
1014

1115
- name: Build Project
1216
uses: threeal/[email protected]
17+
18+
- name: Generate artifact attestation
19+
uses: actions/attest-build-provenance@v2
20+
with:
21+
subject-path: 'build/dotprod_exe'

0 commit comments

Comments
 (0)