mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-02-15 12:25:47 +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: |
|
||||
~/.ghcup
|
||||
~/.stack
|
||||
key: ${{ runner.os }}-${{ hashFiles('**/*.cabal','**/stack.yaml') }}
|
||||
# If there's no match for key, fall back to these:
|
||||
restore-keys: |
|
||||
${{ runner.os }}-
|
||||
key: stack-${{ runner.os }}-${{ hashFiles('stack.yaml') }}
|
||||
restore-keys: stack-${{ runner.os }}-
|
||||
- uses: haskell/ghcup-setup@v1
|
||||
with:
|
||||
stack-hook: true
|
||||
|
||||
Loading…
Reference in New Issue
Block a user