mirror of
https://github.com/revanced/aapt2.git
synced 2024-11-26 22:16:50 +01:00
ci: Generate artifact attestation
This commit is contained in:
parent
8285e73cd7
commit
1a089aa88a
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
@ -16,6 +16,9 @@ jobs:
|
||||
build:
|
||||
name: build
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
id-token: write
|
||||
attestations: write
|
||||
strategy:
|
||||
matrix:
|
||||
target_arch: [x86_64, x86, arm64-v8a, armeabi-v7a]
|
||||
@ -35,8 +38,14 @@ jobs:
|
||||
env:
|
||||
NDK_TOOLCHAIN: ${{ steps.setup-ndk.outputs.ndk-path }}/toolchains/llvm/prebuilt/linux-x86_64
|
||||
|
||||
- name: Attest build provenance
|
||||
uses: actions/attest-build-provenance@v1
|
||||
with:
|
||||
subject-name: dist-${{ matrix.target_arch }}
|
||||
subject-path: dist
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: dist-${{ matrix.target_arch }}
|
||||
path: dist
|
||||
path: dist
|
||||
|
Loading…
Reference in New Issue
Block a user