Skip to content

Commit bc3888d

Browse files
validcubeoSumAtrIX
authored andcommitted
ci: Generate release artifact provenance (#2324)
Signed-off-by: validcube <[email protected]>
1 parent 52b982d commit bc3888d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/release-build.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ jobs:
99
build:
1010
name: Build
1111
runs-on: ubuntu-latest
12+
permissions:
13+
id-token: write
14+
attestations: write
1215
steps:
1316
- uses: actions/checkout@v4
1417
- name: Set env
@@ -41,6 +44,11 @@ jobs:
4144
- name: Add version to APK
4245
run: mv ${{ steps.sign_apk.outputs.signedFile }} revanced-manager-${{ env.RELEASE_VERSION }}.apk
4346

47+
- name: Generate artifact attestation
48+
uses: actions/attest-build-provenance@v1
49+
with:
50+
subject-path: revanced-manager-${{ env.RELEASE_VERSION }}.apk
51+
4452
- name: Publish release APK
4553
uses: "marvinpinto/action-automatic-releases@latest"
4654
with:

0 commit comments

Comments
 (0)