1
0
mirror of https://github.com/stonega/tsacdop synced 2025-02-03 00:47:33 +01:00
2020-05-16 11:57:49 +08:00

28 lines
787 B
YAML

version: 2
jobs:
build:
docker:
- image: cirrusci/flutter:beta
branches:
only: master
steps:
- checkout
- run:
name: Run Flutter doctor
command: flutter doctor
- run:
name: Update package
command: flutter update-packages --force-upgrade
- run: echo $ENCODED_KEYSTORE | base64 -di > ${HOME}/keystore.jks
- run: echo 'export KEYSTORE=${HOME}/keystore.jks' >> $BASH_ENV
- run: dart tool/env.dart
- run:
name: Build the Android version
command: flutter build appbundle --no-shrink
- run:
name: Build the Android apks
command: flutter build apk --split-per-abi --no-shrink
- store_artifacts:
path: build/app/outputs/