Skip to content

Commit

Permalink
ci: Generate artifact attestation
Browse files Browse the repository at this point in the history
  • Loading branch information
validcube authored and oSumAtrIX committed Nov 22, 2024
1 parent 8285e73 commit 1a089aa
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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

0 comments on commit 1a089aa

Please sign in to comment.