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

27 lines
696 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: 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 apk --split-per-abi --no-shrink
- run:
name: Build the Android bundle
command: flutter build appbundle --no-shrink
- store_artifacts:
path: build/app/outputs/