Skip to content

Commit

Permalink
fix(android): Update gradle cache keys to match on save and restore (#17
Browse files Browse the repository at this point in the history
)
  • Loading branch information
ahdinosaur authored and matt-oakes committed Nov 17, 2019
1 parent 0158de9 commit 6e52052
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands/android_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ steps:
name: Saving Gradle wrapper cache
paths:
- ~/.gradle/wrapper/
key: gradle-wrapper-{{ checksum "<<parameters.project_path>>/gradle/wrapper/gradle-wrapper.properties" }}
key: gradle-wrapper-{{ arch }}-{{ checksum "<<parameters.project_path>>/gradle/wrapper/gradle-wrapper.properties" }}-{{ .Environment.CACHE_VERSION }}

- save_cache:
name: Saving Gradle home cache
paths:
- ~/.gradle/caches/
key: gradle-home-cache-{{ checksum "~/.tmp/checksumfiles/build.gradle" }}-{{ checksum "~/.tmp/checksumfiles/settings.gradle" }}
key: gradle-home-cache-{{ arch }}-{{ checksum "~/.tmp/checksumfiles/build.gradle" }}-{{ checksum "~/.tmp/checksumfiles/settings.gradle" }}-{{ .Environment.CACHE_VERSION }}

- run:
name: Build Android APK
Expand Down

0 comments on commit 6e52052

Please sign in to comment.