Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Commit

Permalink
Fix digest strategy on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrisbin committed May 24, 2018
1 parent ae43d55 commit 44a4d57
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,23 @@ jobs:
- image: fpco/stack-build:lts-11.0
steps:
- checkout
- run:
name: Digest
command: |
git ls-files | xargs md5sum > digest
- restore_cache:
keys:
- stack-{{ .Branch }}-{{ checksum "stack.yaml" }}
- stack-{{ .Branch }}
- stack-
- v1-{{ .Branch }}-{{ checksum "digest" }}
- v1-{{ .Branch }}-
- v1-master-
- run:
name: Dependencies
command: make setup
- run:
name: Build
command: make build
- save_cache:
key: stack-{{ .Branch }}-{{ checksum "stack.yaml" }}
key: v1-{{ .Branch }}-{{ checksum "digest" }}
paths:
- ~/.stack
- ./.stack-work
Expand Down

0 comments on commit 44a4d57

Please sign in to comment.