CI: Build the APK as well as the AAB

The APK is useful for debugging, as one cannot easily install the AAB
from the command line.
This commit is contained in:
Vishesh Handa
2019-10-02 07:14:18 +02:00
parent 78b4a25c30
commit 300acbd787
2 changed files with 4 additions and 0 deletions

View File

@ -29,6 +29,9 @@ jobs:
- store_artifacts: - store_artifacts:
path: build/app/outputs/bundle/release/app.aab path: build/app/outputs/bundle/release/app.aab
destination: gitjournal.aab destination: gitjournal.aab
- store_artifacts:
path: build/app/outputs/bundle/release/app.apk
destination: gitjournal.apk
- run: - run:
name: Upload Crashlytics Symbols name: Upload Crashlytics Symbols
command: ./scripts/android_crashlytics.sh command: ./scripts/android_crashlytics.sh

View File

@ -6,3 +6,4 @@ BUILD_NUM=`git rev-list --count HEAD`
echo "Build Number: $BUILD_NUM" echo "Build Number: $BUILD_NUM"
flutter build appbundle --build-number=$BUILD_NUM --verbose flutter build appbundle --build-number=$BUILD_NUM --verbose
flutter build apk --build-number=$BUILD_NUM --verbose