Windows CI: don't cache local packages.

We're running into a stack bug with internal libraries.
See commercialhaskell/stack#6046.
This commit is contained in:
John MacFarlane
2023-02-08 20:17:30 -08:00
parent 3c6e339a36
commit 4edc02d3b5
+8 -8
View File
@@ -126,14 +126,14 @@ jobs:
C:\Users\runneradmin\AppData\Roaming\stack\
key: ${{ runner.os }}-appdata-roaming-stack-${{ hashFiles('stack.yaml') }}
# stack's local package dbs for the project and each package
- name: Cache .stack-work
uses: actions/cache@v3
with:
path: |
.stack-work
key: ${{ runner.os }}-stack-work-${{ hashFiles('stack.yaml') }}-${{ secrets.CACHE_VERSION }}
restore-keys: ${{ runner.os }}-stack-work-${{ secrets.CACHE_VERSION }}
# # stack's local package dbs for the project and each package
# - name: Cache .stack-work
# uses: actions/cache@v3
# with:
# path: |
# .stack-work
# key: ${{ runner.os }}-stack-work-${{ hashFiles('stack.yaml') }}-${{ secrets.CACHE_VERSION }}
# restore-keys: ${{ runner.os }}-stack-work-${{ secrets.CACHE_VERSION }}
- name: Install dependencies
run: |