mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-02-15 20:35:48 +01:00
Generalize cache key to just follow stack.yaml
This commit is contained in:
parent
c9c601ab6e
commit
4c42c3b913
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -18,10 +18,8 @@ jobs:
|
|||||||
path: |
|
path: |
|
||||||
~/.ghcup
|
~/.ghcup
|
||||||
~/.stack
|
~/.stack
|
||||||
key: ${{ runner.os }}-${{ hashFiles('**/*.cabal','**/stack.yaml') }}
|
key: stack-${{ runner.os }}-${{ hashFiles('stack.yaml') }}
|
||||||
# If there's no match for key, fall back to these:
|
restore-keys: stack-${{ runner.os }}-
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-
|
|
||||||
- uses: haskell/ghcup-setup@v1
|
- uses: haskell/ghcup-setup@v1
|
||||||
with:
|
with:
|
||||||
stack-hook: true
|
stack-hook: true
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user