Skip to content

Commit 1a089aa

Browse files
validcubeoSumAtrIX
authored andcommitted
ci: Generate artifact attestation
1 parent 8285e73 commit 1a089aa

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ jobs:
1616
build:
1717
name: build
1818
runs-on: ubuntu-latest
19+
permissions:
20+
id-token: write
21+
attestations: write
1922
strategy:
2023
matrix:
2124
target_arch: [x86_64, x86, arm64-v8a, armeabi-v7a]
@@ -35,8 +38,14 @@ jobs:
3538
env:
3639
NDK_TOOLCHAIN: ${{ steps.setup-ndk.outputs.ndk-path }}/toolchains/llvm/prebuilt/linux-x86_64
3740

41+
- name: Attest build provenance
42+
uses: actions/attest-build-provenance@v1
43+
with:
44+
subject-name: dist-${{ matrix.target_arch }}
45+
subject-path: dist
46+
3847
- name: Upload artifacts
3948
uses: actions/upload-artifact@v3
4049
with:
4150
name: dist-${{ matrix.target_arch }}
42-
path: dist
51+
path: dist

0 commit comments

Comments
 (0)