Skip to content
Snippets Groups Projects
Commit d04ab28e authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

Bust the CircleCI Stack cache

When the nixpkgs revision was bumped, the stack version in use was bumped.
The newer stack version uses a different cache layout and can't find any of
the cached artifacts in the old cache.
parent 8a7061cd
Branches 24.stripe-charge-rebased
No related tags found
1 merge request!30Expose a browser facing API for charge
......@@ -93,8 +93,8 @@ jobs:
# the cache was written (but usually it will have).
name: "Restore Cached Dependencies"
keys:
- paymentserver-v1-{{ checksum "stack.yaml" }}-{{ checksum "PaymentServer.cabal" }}
- paymentserver-v1-{{ checksum "stack.yaml" }}
- paymentserver-v2-{{ checksum "stack.yaml" }}-{{ checksum "PaymentServer.cabal" }}
- paymentserver-v2-{{ checksum "stack.yaml" }}
- run:
# Build just our dependencies. It's nice to have this as a separate
......@@ -124,7 +124,7 @@ jobs:
# way we get to save the cache whether or not the test suite goes on
# to succeed.
name: "Cache Dependencies"
key: paymentserver-v1-{{ checksum "stack.yaml" }}-{{ checksum "PaymentServer.cabal" }}
key: paymentserver-v2-{{ checksum "stack.yaml" }}-{{ checksum "PaymentServer.cabal" }}
paths:
- "/root/.stack"
- ".stack-work"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment