Skip to content

Commit

Permalink
Attest APK
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeuw committed Jun 29, 2024
1 parent b81ddea commit bc8dda4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: Release APK

on: [push, pull_request]

permissions:
id-token: write
attestations: write

jobs:
build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -48,8 +52,14 @@ jobs:
env:
BUILD_TOOLS_VERSION: "34.0.0"

- name: Attest APK
uses: actions/attest-build-provenance@v1
with:
subject-path: 'app/build/outputs/apk/release/*.apk'

- name: Upload release files
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: ${{steps.sign_app.outputs.signedReleaseFile}}

0 comments on commit bc8dda4

Please sign in to comment.