Created
April 6, 2018 06:20
-
-
Save tjkang/24e24f6164be0d79b7b3692680989da4 to your computer and use it in GitHub Desktop.
yml for android with circleci 2.0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: 2 | |
jobs: | |
android: | |
working_directory: ~/project | |
docker: | |
- image: circleci/android:api-27-node8-alpha | |
steps: | |
- checkout: | |
path: ~/project | |
- attach_workspace: | |
at: ~/project | |
- run: | |
name: Set Ruby Version | |
command: echo "ruby-2.4" > ~/.ruby-version | |
- run: cd android && bundle install | |
- run: cd android && bundle exec fastlane beta | |
- persist_to_workspace: | |
root: ~/project | |
paths: | |
- node_modules |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment