From 45f9c52e7f35a8e2fc6a4069569b87d2e9bf465f Mon Sep 17 00:00:00 2001 From: magicedy Date: Thu, 7 Sep 2023 10:49:53 +0800 Subject: [PATCH] chore(mobile): build split APKs (#3940) * chore(mobile): build split APKs * chore(mobile): build split APKs and universalApk --- .github/workflows/build-mobile.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-mobile.yml b/.github/workflows/build-mobile.yml index 5f21bd8c6a..59602caa0b 100644 --- a/.github/workflows/build-mobile.yml +++ b/.github/workflows/build-mobile.yml @@ -64,10 +64,12 @@ jobs: ALIAS: ${{ secrets.ALIAS }} ANDROID_KEY_PASSWORD: ${{ secrets.ANDROID_KEY_PASSWORD }} ANDROID_STORE_PASSWORD: ${{ secrets.ANDROID_STORE_PASSWORD }} - run: flutter build apk --release + run: | + flutter build apk --release + flutter build apk --release --split-per-abi --target-platform android-arm,android-arm64,android-x64 - name: Publish Android Artifact uses: actions/upload-artifact@v3 with: name: release-apk-signed - path: mobile/build/app/outputs/flutter-apk/app-release.apk + path: mobile/build/app/outputs/flutter-apk/*.apk