Skip to content

Commit b817de5

Browse files
committed
ci: add actions/attest-build-provenance for each artifact
Signed-off-by: Rafael Passos <rafael@rcpassos.me>
1 parent 1598260 commit b817de5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/publish.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,14 @@ jobs:
127127
cd target/release/
128128
echo "hashes=$(sha256sum $(echo *.zip *.deb *.rpm *.gz ) | base64 -w0)" >> "$GITHUB_OUTPUT"
129129
130+
- uses: actions/attest-build-provenance@c074443f1aee8d4aeeae555aebba3282517141b2 # v2.2.3
131+
with:
132+
subject-path: |
133+
'target/release/protonup-rs**.gz'
134+
'target/release/protonup-rs**.zip'
135+
'target/release/protonup-rs**.deb'
136+
'target/release/protonup-rs**.rpm'
137+
130138
provenance:
131139
needs: [release]
132140
permissions:

0 commit comments

Comments
 (0)