1
0
mirror of https://github.com/stonega/tsacdop synced 2025-02-03 00:47:33 +01:00

28 lines
787 B
YAML
Raw Normal View History

2020-02-13 11:18:56 +08:00
version: 2
jobs:
build:
docker:
2020-04-12 01:23:12 +08:00
- image: cirrusci/flutter:beta
2020-02-13 11:18:56 +08:00
branches:
only: master
steps:
- checkout
- run:
name: Run Flutter doctor
command: flutter doctor
2020-05-16 11:57:49 +08:00
- run:
name: Update package
command: flutter update-packages --force-upgrade
2020-02-13 14:35:30 +08:00
- run: echo $ENCODED_KEYSTORE | base64 -di > ${HOME}/keystore.jks
2020-02-13 14:26:38 +08:00
- run: echo 'export KEYSTORE=${HOME}/keystore.jks' >> $BASH_ENV
- run: dart tool/env.dart
2020-05-06 21:13:40 +08:00
- run:
name: Build the Android version
command: flutter build appbundle --no-shrink
2020-05-08 19:43:57 +08:00
- run:
2020-05-08 19:44:28 +08:00
name: Build the Android apks
2020-05-08 23:22:31 +08:00
command: flutter build apk --split-per-abi --no-shrink
2020-02-13 11:18:56 +08:00
- store_artifacts:
2020-04-06 20:45:00 +08:00
path: build/app/outputs/