mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-10-08 19:41:30 -04:00
fix(ci): pre-install JetBrains JDK 21 for Compose Desktop builds (#5646)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
1 parent
89ac12e470
commit
f10f36580d
4 files changed
+20
No files matched your search
@@ -286,6 +286,7 @@ jobs:
|
||||
with:
|
||||
gradle_encryption_key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
|
||||
cache_read_only: 'false'
|
||||
install_jetbrains_jdk: 'true'
|
||||
|
||||
- name: Install dependencies for AppImage
|
||||
if: runner.os == 'Linux'
|
||||
@@ -369,6 +370,7 @@ jobs:
|
||||
with:
|
||||
gradle_encryption_key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
|
||||
cache_read_only: 'true'
|
||||
install_jetbrains_jdk: 'true'
|
||||
|
||||
# Uses an isolated Gradle user home so every artifact actually traverses the
|
||||
# network — the flatpak-sources plugin captures URLs via BuildOperationListener and
|
||||
|
||||
@@ -534,6 +534,7 @@ jobs:
|
||||
with:
|
||||
gradle_encryption_key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
|
||||
cache_read_only: ${{ needs.setup.outputs.cache_read_only }}
|
||||
install_jetbrains_jdk: 'true'
|
||||
|
||||
- name: Build Desktop
|
||||
run: ./gradlew :desktopApp:createDistributable -Pci=true
|
||||
@@ -574,6 +575,7 @@ jobs:
|
||||
with:
|
||||
gradle_encryption_key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
|
||||
cache_read_only: true
|
||||
install_jetbrains_jdk: 'true'
|
||||
|
||||
# Isolated Gradle user home — see explanation in release.yml.
|
||||
# packageUberJarForCurrentOS is what the in-flatpak build invokes; it resolves the FULL
|
||||
|
||||
@@ -31,6 +31,11 @@ jobs:
|
||||
distribution: temurin
|
||||
java-version: 21
|
||||
|
||||
- uses: actions/setup-java@v5
|
||||
with:
|
||||
distribution: jetbrains
|
||||
java-version: 21
|
||||
|
||||
- uses: gradle/actions/setup-gradle@v6
|
||||
|
||||
- name: Generate flatpak-sources.json
|
||||
|
||||
Reference in new issue
Block a user