Android CI: Additionally make an AAB for uploading to the Play Store (#14584)

This commit is contained in:
Gregor Parzefall 2024-04-24 16:50:18 +02:00 committed by grorp
parent 00774bc28b
commit 857ba25115

@ -28,8 +28,17 @@ jobs:
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-get install -y --no-install-recommends gettext openjdk-11-jdk-headless sudo apt-get install -y --no-install-recommends gettext openjdk-11-jdk-headless
- name: Build with Gradle - name: Build AAB with Gradle
# We build an AAB as well for uploading to the the Play Store.
run: cd android; ./gradlew bundlerelease
- name: Build APKs with Gradle
# "assemblerelease" is very fast after "bundlerelease".
run: cd android; ./gradlew assemblerelease run: cd android; ./gradlew assemblerelease
- name: Save AAB artifact
uses: actions/upload-artifact@v4
with:
name: Minetest-release.aab
path: android/app/build/outputs/bundle/release/app-release.aab
- name: Save armeabi artifact - name: Save armeabi artifact
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with: