Clear stack cache and make cache-key more fine-grained

Attempt at fixing #137
This commit is contained in:
Andreas Källberg
2022-03-05 10:04:36 +08:00
parent e4b2f281d9
commit aefac84670

View File

@@ -84,7 +84,7 @@ jobs:
name: Cache ~/.stack
with:
path: ~/.stack
key: ${{ runner.os }}-${{ matrix.ghc }}-stack
key: ${{ runner.os }}-${{ matrix.ghc }}-stack--${{ hashFiles(format('stack-ghc{0}', matrix.ghc)) }}
- name: Build
run: |