Skip to content

Commit d4260bb

Browse files
Fix yarn cache key - resolves #151
Circle ci doesn't allow to have new line in the cache key anymore. This fixed it in my build.
1 parent 4d2cf6c commit d4260bb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/commands/yarn_install.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,4 @@ steps:
4747
- save_cache:
4848
paths:
4949
- <<parameters.cache_folder>>
50-
key: |
51-
yarn-cache-{{ arch }}-{{ checksum "~/.tmp/checksumfiles/package.json" }}-{{ checksum "~/.tmp/checksumfiles/yarn.lock" }}-{{ .Environment.CACHE_VERSION }}
50+
key: yarn-cache-{{ arch }}-{{ checksum "~/.tmp/checksumfiles/package.json" }}-{{ checksum "~/.tmp/checksumfiles/yarn.lock" }}-{{ .Environment.CACHE_VERSION }}

0 commit comments

Comments
 (0)