WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 0f986c4

Browse files
authored
.github/workflows: enable GitHub artifact attestations
1 parent 3d91014 commit 0f986c4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ on:
55
push:
66
pull_request:
77
permissions:
8+
attestations: write
89
contents: read
10+
id-token: write
911
jobs:
1012
build:
1113
name: Build binaries
@@ -61,6 +63,10 @@ jobs:
6163
GOOS: ${{ matrix.GOOS }}
6264
GOARCH: ${{ matrix.GOARCH }}
6365
GOARM: ${{ matrix.GOARM }}
66+
- name: Generate artifact attestation
67+
uses: actions/attest-build-provenance@v2
68+
with:
69+
subject-path: age-*
6470
- name: Upload workflow artifacts
6571
uses: actions/upload-artifact@v4
6672
with:

0 commit comments

Comments
 (0)