Skip to content

Commit 07be26c

Browse files
authored
Add Artifact Attestations (#151)
This new feature from GitHub Actions is going to make more explicit that no artifact was modified after the build.
1 parent 4365ad3 commit 07be26c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/release.yml

+9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Build precompiled NIFs
22

3+
permissions:
4+
id-token: write
5+
attestations: write
6+
37
on:
48
push:
59
branches:
@@ -66,6 +70,11 @@ jobs:
6670
use-cross: ${{ matrix.job.use-cross }}
6771
project-dir: "native/html5ever_nif"
6872

73+
- name: Artifact attestation
74+
uses: actions/attest-build-provenance@v1
75+
with:
76+
subject-path: ${{ steps.build-crate.outputs.file-path }}
77+
6978
- name: Artifact upload
7079
uses: actions/upload-artifact@v4
7180
with:

0 commit comments

Comments
 (0)