remove cache_keys
This commit is contained in:
parent
705023557f
commit
275dfed040
|
@ -43,11 +43,11 @@ save-npm-cache-mac: &save-npm-cache-mac
|
||||||
|
|
||||||
restore-gems-cache: &restore-gems-cache
|
restore-gems-cache: &restore-gems-cache
|
||||||
name: Restore gems cache
|
name: Restore gems cache
|
||||||
key: *gems_cache_key
|
key: bundle-v1-{{ checksum "ios/Gemfile.lock" }}
|
||||||
|
|
||||||
save-gems-cache: &save-gems-cache
|
save-gems-cache: &save-gems-cache
|
||||||
name: Save gems cache
|
name: Save gems cache
|
||||||
key: *gems_cache_key
|
key: bundle-v1-{{ checksum "ios/Gemfile.lock" }}
|
||||||
paths:
|
paths:
|
||||||
- vendor/bundle
|
- vendor/bundle
|
||||||
|
|
||||||
|
@ -73,11 +73,6 @@ restore_cache: &restore-gradle-cache
|
||||||
name: Restore gradle cache
|
name: Restore gradle cache
|
||||||
key: android-{{ checksum "android/build.gradle" }}-{{ checksum "android/app/build.gradle" }}
|
key: android-{{ checksum "android/build.gradle" }}-{{ checksum "android/app/build.gradle" }}
|
||||||
|
|
||||||
references:
|
|
||||||
cache_keys:
|
|
||||||
gems_cache_key: &gems_cache_key v1-gems-{{ checksum "Gemfile.lock" }}
|
|
||||||
rbenv_cache_key: &rbenv_cache_key v1-rbenv-{{ checksum "/tmp/required_ruby" }}
|
|
||||||
|
|
||||||
# COMMANDS
|
# COMMANDS
|
||||||
commands:
|
commands:
|
||||||
|
|
||||||
|
@ -351,12 +346,12 @@ commands:
|
||||||
type: string
|
type: string
|
||||||
steps:
|
steps:
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
key: *gems_cache_key
|
key: bundle-v1-{{ checksum "ios/Gemfile.lock" }}
|
||||||
- run:
|
- run:
|
||||||
name: Set Required Ruby
|
name: Set Required Ruby
|
||||||
command: echo << parameters.ruby_version >> > /tmp/required_ruby
|
command: echo << parameters.ruby_version >> > /tmp/required_ruby
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
key: *rbenv_cache_key
|
key: v1-rbenv-{{ checksum "/tmp/required_ruby" }}
|
||||||
- run:
|
- run:
|
||||||
name: Bundle Install
|
name: Bundle Install
|
||||||
command: |
|
command: |
|
||||||
|
@ -387,11 +382,11 @@ commands:
|
||||||
gem install bundler
|
gem install bundler
|
||||||
bundle check || bundle install --path vendor/bundle --clean
|
bundle check || bundle install --path vendor/bundle --clean
|
||||||
- save_cache:
|
- save_cache:
|
||||||
key: *rbenv_cache_key
|
key: v1-rbenv-{{ checksum "/tmp/required_ruby" }}
|
||||||
paths:
|
paths:
|
||||||
- ~/.rbenv
|
- ~/.rbenv
|
||||||
- save_cache:
|
- save_cache:
|
||||||
key: *gems_cache_key
|
key: bundle-v1-{{ checksum "ios/Gemfile.lock" }}
|
||||||
paths:
|
paths:
|
||||||
- vendor/bundle
|
- vendor/bundle
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue