Avoid using cached .babel-cache and .meteor from other branches.

https://github.com/meteor/meteor/pull/9826#issuecomment-382758704

cc @abernix @hwillson @jamesmillerburgess
This commit is contained in:
Ben Newman
2018-04-19 10:34:09 -04:00
parent 567e620a86
commit a33bc72b21

View File

@@ -119,9 +119,8 @@ jobs:
- v1-dev-bundle-cache-
- restore_cache:
keys:
- v1-other-deps-cache-{{ .Branch }}-{{ .Revision }}
- v1-other-deps-cache-{{ .Branch }}
- v1-other-deps-cache-
- v2-other-deps-cache-{{ .Branch }}-{{ .Revision }}
- v2-other-deps-cache-{{ .Branch }}-
- restore_cache:
keys:
- v1-test-groups-{{ .Branch }}
@@ -697,7 +696,7 @@ jobs:
paths:
- "dev_bundle"
- save_cache:
key: v1-other-deps-cache-{{ .Branch }}-{{ .Revision }}
key: v2-other-deps-cache-{{ .Branch }}-{{ .Revision }}
paths:
- ".babel-cache"
- ".meteor"