Skip to content

Instantly share code, notes, and snippets.

@tjkang
Created April 6, 2018 06:20
Show Gist options
  • Save tjkang/24e24f6164be0d79b7b3692680989da4 to your computer and use it in GitHub Desktop.
Save tjkang/24e24f6164be0d79b7b3692680989da4 to your computer and use it in GitHub Desktop.
yml for android with circleci 2.0
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