mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-05-06 13:45:06 -04:00
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:
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@@ -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
|
||||
|
||||
3
.github/workflows/reusable-android-build.yml
vendored
3
.github/workflows/reusable-android-build.yml
vendored
@@ -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:
|
||||
|
||||
3
.github/workflows/reusable-android-test.yml
vendored
3
.github/workflows/reusable-android-test.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user