tsacdop-podcast-app-android/.circleci/config.yml

28 lines
786 B
YAML
Raw Normal View History

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