File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 18
18
runs-on : ubuntu-latest
19
19
permissions :
20
20
id-token : write
21
+ contents : read
21
22
attestations : write
22
23
strategy :
23
24
matrix :
@@ -47,13 +48,14 @@ jobs:
47
48
cmake -GNinja -Dprotobuf_BUILD_TESTS=OFF ..
48
49
ninja -j$(nproc --all)
49
50
popd
50
- env :
51
- NDK_TOOLCHAIN : ${{ steps.setup-ndk.outputs.ndk-path }}/toolchains/llvm/prebuilt/linux-x86_64
52
51
53
52
- name : Compiling aapt2
54
53
run : python3 ./build.py --ndk=${{ steps.setup-ndk.outputs.ndk-path }} --abi=${{ matrix.target_arch }} --build="build/${{ matrix.target_arch }}" --protoc=/${{ github.workspace }}/src/protobuf/build/protoc --target aapt2
55
- env :
56
- NDK_TOOLCHAIN : ${{ steps.setup-ndk.outputs.ndk-path }}/toolchains/llvm/prebuilt/linux-x86_64
54
+
55
+ - name : Generating attestation of the generated aapt2
56
+ uses : actions/attest-build-provenance@v2
57
+ with :
58
+ subject-path : ${{ github.workspace }}/build/${{ matrix.target_arch }}/bin/aapt2
57
59
58
60
- name : Upload artifacts
59
61
uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments