From 857ba25115834ce05386edbbc76df94fb184e4ce Mon Sep 17 00:00:00 2001 From: Gregor Parzefall Date: Wed, 24 Apr 2024 16:50:18 +0200 Subject: [PATCH] Android CI: Additionally make an AAB for uploading to the Play Store (#14584) --- .github/workflows/android.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 8cbe5e09f..e341807c5 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -28,8 +28,17 @@ jobs: run: | sudo apt-get update 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 + - 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 uses: actions/upload-artifact@v3 with: