Skip to content

Commit

Permalink
Update continuous_build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cyb3rko authored Nov 12, 2024
1 parent 58b4a70 commit 6477c91
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/continuous_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,17 @@ jobs:
distribution: 'zulu'
java-version: '17'

- name: Build APK
run: |
./gradlew assembleRelease --stacktrace
- uses: burrunan/gradle-cache-action@v1
name: Build APK with cached .gradle
with:
job-id: assembleRelease
# Makes all non-main branch builds to use read-only caching
read-only: ${{ github.ref != 'refs/heads/main' }}
# Arguments for Gradle execution
arguments: assembleRelease --stacktrace
# Extra files to take into account for ~/.gradle/caches dependencies
gradle-dependencies-cache-key: |
gradle/libs.versions.toml
- name: List build output
run: |
Expand Down

0 comments on commit 6477c91

Please sign in to comment.