fix(ci): Gradle cache and auth requests for setup-java (#2392)

Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
This commit is contained in:
James Rich
2025-07-08 15:56:32 +00:00
committed by GitHub
parent a8094f6ca4
commit db17815576
3 changed files with 12 additions and 0 deletions

View File

@@ -78,6 +78,9 @@ jobs:
with:
java-version: '21'
distribution: 'jetbrains'
cache: 'gradle'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Build F-Droid release
run: ./gradlew assembleFdroidRelease
@@ -136,6 +139,9 @@ jobs:
with:
java-version: '21'
distribution: 'jetbrains'
cache: 'gradle'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Build Play Store release
run: ./gradlew bundleGoogleRelease assembleGoogleRelease

View File

@@ -28,6 +28,9 @@ jobs:
with:
java-version: '21'
distribution: 'jetbrains'
cache: 'gradle'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Cache Gradle User Home
uses: actions/cache@v4
with:

View File

@@ -39,6 +39,9 @@ jobs:
with:
java-version: '21'
distribution: 'jetbrains'
cache: 'gradle'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Cache Gradle User Home
uses: actions/cache@v4
with: