Skip to content

chore(ci): save only brew cache files #527

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 18, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ default config for android apk builds: &android_defaults
# ==============================

cache keys:
brew ios: &key_brew_ios cache-brew-ios-v3-{{ arch }}
brew android: &key_brew_android cache-brew-android-v3-{{ arch }}
brew ios: &key_brew_ios cache-brew-ios-v4-{{ arch }}
brew android: &key_brew_android cache-brew-android-v4-{{ arch }}
yarn: &key_yarn cache-yarn-{{ checksum "package.json" }}-{{ arch }}
gradle: &key_gradle cache-gradle-{{ checksum "example/android/gradle/wrapper/gradle-wrapper.properties" }}-{{ checksum "package.json" }}-{{ arch }}
pods: &key_pods cache-pods-v1-{{ checksum "example/ios/Podfile" }}-{{ checksum "package.json" }}-{{ arch }}
Expand All @@ -60,7 +60,6 @@ cache:
save brew cache for ios: &cache_save_brew_ios
name: Saving Brew cache
paths:
- /usr/local/Homebrew
- ~/Library/Caches/Homebrew
key: *key_brew_ios

Expand All @@ -72,8 +71,7 @@ cache:
save brew cache for android: &cache_save_brew_android
name: Saving Brew cache for android
paths:
- /usr/local/Homebrew
- ~/Library/Caches/Homebrew
- ~/Library/Caches/Homebrew
key: *key_brew_android

restore brew cache for android: &cache_restore_brew_android
Expand Down