mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2026-04-19 17:17:04 -04:00
build: use new runtimes
This commit is contained in:
committed by
Maksim Belov
parent
42160148e7
commit
293b2452c3
17
.github/workflows/android.yml
vendored
17
.github/workflows/android.yml
vendored
@@ -43,9 +43,19 @@ jobs:
|
||||
path: app_pojavlauncher/src/main/assets/components/jre-new
|
||||
workflow_conclusion: success
|
||||
repo: PojavLauncherTeam/android-openjdk-build-multiarch
|
||||
branch: buildjre17
|
||||
branch: buildjre17-21
|
||||
name: jre17-pojav
|
||||
|
||||
- name: Get JRE21
|
||||
uses: dawidd6/action-download-artifact@v2
|
||||
with:
|
||||
workflow: build.yml
|
||||
path: app_pojavlauncher/src/main/assets/components/jre-21
|
||||
workflow_conclusion: success
|
||||
repo: PojavLauncherTeam/android-openjdk-build-multiarch
|
||||
branch: buildjre17-21
|
||||
name: jre21-pojav
|
||||
|
||||
- uses: gradle/gradle-build-action@v2
|
||||
with:
|
||||
gradle-version: 7.6.1
|
||||
@@ -80,19 +90,20 @@ jobs:
|
||||
run: |
|
||||
rm -r app_pojavlauncher/src/main/assets/components/jre
|
||||
rm -r app_pojavlauncher/src/main/assets/components/jre-new
|
||||
rm -r app_pojavlauncher/src/main/assets/components/jre-21
|
||||
gradle assembleDebug
|
||||
mv app_pojavlauncher/build/outputs/apk/debug/app_pojavlauncher-debug.apk out/app-debug-noruntime.apk
|
||||
- name: Gen md5sums
|
||||
run: |
|
||||
md5sum out/app-debug.apk > out/app-debug.md5
|
||||
md5sum out/app-debug-noruntime.apk > out/app-debug-noruntime.md5
|
||||
|
||||
|
||||
- name: Upload APK
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: app-debug
|
||||
path: out/app-debug.*
|
||||
|
||||
|
||||
- name: Upload AAB
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user