mirror of
https://github.com/freckle/yesod-auth-oauth2.git
synced 2026-04-19 17:34:15 +02:00
Change cache key strategy
Only look to master- on full-fail, never to "any branch". Use a simple numeric prefix which we can bump to clear it all.
This commit is contained in:
parent
3d6c07221c
commit
1c7b377b72
@ -14,11 +14,10 @@ references:
|
|||||||
git ls-files | xargs md5sum > sdigest
|
git ls-files | xargs md5sum > sdigest
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
keys:
|
keys:
|
||||||
# yamllint disable-line rule:line-length
|
- 1-{{ .Branch }}-{{ checksum "rdigest" }}-{{ checksum "sdigest" }}
|
||||||
- stack-{{ .Branch }}-{{ checksum "rdigest" }}-{{ checksum "sdigest" }}
|
- 1-{{ .Branch }}-{{ checksum "rdigest" }}-
|
||||||
- stack-{{ .Branch }}-{{ checksum "rdigest" }}-
|
- 1-{{ .Branch }}-
|
||||||
- stack-{{ .Branch }}-
|
- 1-master-
|
||||||
- stack-
|
|
||||||
- run:
|
- run:
|
||||||
name: Dependencies
|
name: Dependencies
|
||||||
command: make setup
|
command: make setup
|
||||||
@ -26,8 +25,7 @@ references:
|
|||||||
name: Build
|
name: Build
|
||||||
command: make build
|
command: make build
|
||||||
- save_cache:
|
- save_cache:
|
||||||
# yamllint disable-line rule:line-length
|
key: 1-{{ .Branch }}-{{ checksum "rdigest" }}-{{ checksum "sdigest" }}
|
||||||
key: stack-{{ .Branch }}-{{ checksum "rdigest" }}-{{ checksum "sdigest" }}
|
|
||||||
paths:
|
paths:
|
||||||
- ~/.stack
|
- ~/.stack
|
||||||
- ./.stack-work
|
- ./.stack-work
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user