Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ jobs:

build:
permissions:
id-token: write
attestations: write
contents: write
runs-on: ubuntu-latest
steps:
Expand All @@ -64,6 +66,10 @@ jobs:
java-version: 25
- uses: gradle/actions/setup-gradle@v6
- run: ./gradlew app:assembleRelease
- name: Generate Artifact Attestation
uses: actions/attest-build-provenance@v2
Comment thread
Goooler marked this conversation as resolved.
Outdated
with:
subject-path: app/build/outputs/apk/release/*.apk
- name: Delete release if exist then create release
if: github.repository_owner == 'Goooler' && github.event_name == 'push'
env:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
jobs:
release:
permissions:
id-token: write
attestations: write
Comment thread
Goooler marked this conversation as resolved.
contents: write
runs-on: ubuntu-latest
steps:
Expand All @@ -32,6 +34,10 @@ jobs:
- name: Build
run: |
./gradlew app:assembleRelease
- name: Generate Artifact Attestation
uses: actions/attest-build-provenance@v2
Comment thread
Goooler marked this conversation as resolved.
Outdated
with:
subject-path: app/build/outputs/apk/release/*.apk
- name: Create release
if: github.repository_owner == 'Goooler'
env:
Expand Down