Skip to content

Commit

Permalink
Remove HIE_CACHE from cache key (#2050)
Browse files Browse the repository at this point in the history
This was added in haskell/haskell-ide-engine#968 (comment)
I think it is better to make explicit the invalidation with a commit, to make clear in the commit history when it was done

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
jneira and mergify[bot] committed Jul 31, 2021
1 parent ced934e commit 0e1e1a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Expand Up @@ -14,7 +14,7 @@ defaults: &defaults

- restore_cache:
keys:
- v4-stack-cache-{{ .Environment.HIE_CACHE }}-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "resolver.txt" }}
- v4-stack-cache-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "resolver.txt" }}

- run:
name: Stack upgrade
Expand All @@ -40,7 +40,7 @@ defaults: &defaults
destination: bin

- save_cache:
key: v4-stack-cache-{{ .Environment.HIE_CACHE }}-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "resolver.txt" }}
key: v4-stack-cache-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "resolver.txt" }}
paths: &cache_paths
- ~/.stack

Expand Down

0 comments on commit 0e1e1a2

Please sign in to comment.