Files
flipper/.circleci/config.yml
Pascal Hartig b342b07a89 Add branch filter for builds (#268)
Summary:
Nothing seems to run now, so let's try "trigger schedules" instead.
Pull Request resolved: https://github.com/facebook/flipper/pull/268

Reviewed By: priteshrnandgaonkar

Differential Revision: D9851086

Pulled By: passy

fbshipit-source-id: 8327e0f7b2a416541e8b531578ea813cc168ff66
2018-09-17 07:12:00 -07:00

40 lines
722 B
YAML

version: 2.0
jobs:
build:
docker:
- image: circleci/android:api-28-ndk-r17b
steps:
- checkout
- run:
name: build and deploy
command: |
./gradlew :sample:assembleDebug
scripts/publish-android-snapshot.sh
release:
docker:
- image: circleci/android:api-28-ndk-r17b
steps:
- checkout
- run:
name: build and deploy
command: scripts/publish-android-release.sh
workflows:
version: 2
build:
jobs:
- build
release:
triggers:
- schedules:
filters:
branches:
- only: master
tags:
- only: /^v.*/
jobs:
- release