Update #131
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Android CI | |
on: | |
pull_request: | |
branches-ignore: | |
- '' | |
push: | |
branches-ignore: | |
- '' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
env: | |
GPLAY_KEYSTORE_PASSWORD: ${{ secrets.GPLAY_KEYSTORE_PASSWORD }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Get JRE 8 | |
uses: dawidd6/action-download-artifact@v2 | |
with: | |
workflow: build.yml | |
path: app_pojavlauncher/src/main/assets/components/jre | |
workflow_conclusion: success | |
repo: PojavLauncherTeam/android-openjdk-build-multiarch | |
branch: buildjre8 | |
name: jre8-pojav | |
- name: Get JRE17 | |
uses: dawidd6/action-download-artifact@v2 | |
with: | |
workflow: build.yml | |
path: app_pojavlauncher/src/main/assets/components/jre-new | |
workflow_conclusion: success | |
repo: PojavLauncherTeam/android-openjdk-build-multiarch | |
branch: buildjre17 | |
name: jre17-pojav | |
- uses: gradle/gradle-build-action@v2 | |
with: | |
gradle-version: 7.6.1 | |
- name: Build JRE JAR files | |
run: | | |
# Build JRE JAR files (security manager, etc...) | |
gradle :jre_lwjgl3glfw:build --no-daemon | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Bild Debug.apk | |
run: | | |
# Build the launcher | |
gradle :app_pojavlauncher:assembleDebug | |
- name: Upload APK | |
uses: actions/upload-artifact@v3 | |
with: | |
name: app-debug-release | |
path: app_pojavlauncher/build/outputs/apk/debug/* | |