Skip to content

Instantly share code, notes, and snippets.

@chan-bo
Created March 18, 2019 06:46
Show Gist options
  • Save chan-bo/f12b601a8e469f6ebb76c3803b3cbd63 to your computer and use it in GitHub Desktop.
Save chan-bo/f12b601a8e469f6ebb76c3803b3cbd63 to your computer and use it in GitHub Desktop.
gradle_key: &gradle_key
jars-{{ checksum "gradle/wrapper/gradle-wrapper.properties" }}-{{checksum "build.gradle" }}-{{ checksum "app/build.gradle" }}
gems_key: &gems_key
gems-{{ checksum "Gemfile.lock" }}
restore_gradle_cache: &restore_gradle_cache
restore_cache:
key: *gradle_key
restore_gems_cache: &restore_gems_cache
restore_cache:
key: *gems_key
save_gradle_cache: &save_gradle_cache
save_cache:
key: *gradle_key
paths:
- ~/.gradle
- ~/.m2
save_gems_cache: &save_gems_cache
save_cache:
key: *gems_key
paths:
- vendor/bundle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment