mirror of
https://github.com/revanced/aapt2.git
synced 2025-04-29 21:44:26 +02: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:
|
build:
|
||||||
name: build
|
name: build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
id-token: write
|
||||||
|
attestations: write
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
target_arch: [x86_64, x86, arm64-v8a, armeabi-v7a]
|
target_arch: [x86_64, x86, arm64-v8a, armeabi-v7a]
|
||||||
@ -35,8 +38,14 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
NDK_TOOLCHAIN: ${{ steps.setup-ndk.outputs.ndk-path }}/toolchains/llvm/prebuilt/linux-x86_64
|
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
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: dist-${{ matrix.target_arch }}
|
name: dist-${{ matrix.target_arch }}
|
||||||
path: dist
|
path: dist
|
||||||
|
Loading…
x
Reference in New Issue
Block a user