mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-07-26 12:46:43 +08:00
CI: Build the apk and store it as an artifact
This way we can publish the apks in other places
This commit is contained in:
@ -34,6 +34,9 @@ jobs:
|
||||
- store_artifacts:
|
||||
path: build/app/outputs/bundle/prodRelease/app.aab
|
||||
destination: gitjournal.aab
|
||||
- store_artifacts:
|
||||
path: build/app/outputs/flutter-apk/app-prod-release.apk
|
||||
destination: gitjournal.apk
|
||||
- run:
|
||||
name: Generate Test Coverage
|
||||
command: ./scripts/test_coverage.sh
|
||||
|
@ -6,3 +6,6 @@ BUILD_NUM=$(git rev-list --count HEAD)
|
||||
echo "Build Number: $BUILD_NUM"
|
||||
|
||||
flutter build appbundle --flavor prod --build-number="$BUILD_NUM" --verbose
|
||||
|
||||
# Also building the apk, as it's useful for non Google Play users
|
||||
flutter build apk --flavor prod --build-number="$BUILD_NUM" --verbose
|
||||
|
Reference in New Issue
Block a user