feat: Download JREs from github

This should help reduce apk size.
We still maintain Java 8 due to reasons.

All old legacy code for having internal runtimes were not removed
because we have no reason to.
This commit is contained in:
alexytomi
2026-04-03 01:44:42 +08:00
parent 32d987c1b0
commit afaa9bda94
4 changed files with 101 additions and 34 deletions

View File

@@ -38,35 +38,35 @@ jobs:
branch: buildjre8
name: jre8-pojav
- name: Get JRE17
uses: dawidd6/action-download-artifact@v9
with:
workflow: build.yml
path: app_pojavlauncher/src/main/assets/components/jre-new
workflow_conclusion: completed
repo: AngelAuraMC/angelauramc-openjdk-build
branch: buildjre17-21
name: jre17-pojav
- name: Get JRE21
uses: dawidd6/action-download-artifact@v9
with:
workflow: build.yml
path: app_pojavlauncher/src/main/assets/components/jre-21
workflow_conclusion: completed
repo: AngelAuraMC/angelauramc-openjdk-build
branch: buildjre17-21
name: jre21-pojav
- name: Get JRE25
uses: dawidd6/action-download-artifact@v9
with:
workflow: build.yml
path: app_pojavlauncher/src/main/assets/components/jre-25
workflow_conclusion: completed
repo: FCL-Team/Android-OpenJDK-Build
branch: Build_JRE_25
name: jre25-multiarch
# - name: Get JRE17
# uses: dawidd6/action-download-artifact@v9
# with:
# workflow: build.yml
# path: app_pojavlauncher/src/main/assets/components/jre-new
# workflow_conclusion: completed
# repo: AngelAuraMC/angelauramc-openjdk-build
# branch: buildjre17-21
# name: jre17-pojav
#
# - name: Get JRE21
# uses: dawidd6/action-download-artifact@v9
# with:
# workflow: build.yml
# path: app_pojavlauncher/src/main/assets/components/jre-21
# workflow_conclusion: completed
# repo: AngelAuraMC/angelauramc-openjdk-build
# branch: buildjre17-21
# name: jre21-pojav
#
# - name: Get JRE25
# uses: dawidd6/action-download-artifact@v9
# with:
# workflow: build.yml
# path: app_pojavlauncher/src/main/assets/components/jre-25
# workflow_conclusion: completed
# repo: FCL-Team/Android-OpenJDK-Build
# branch: Build_JRE_25
# name: jre25-multiarch
- uses: gradle/actions/setup-gradle@v4
with: