Skip to content

Commit

Permalink
Windows CI: don't cache local packages.
Browse files Browse the repository at this point in the history
We're running into a stack bug with internal libraries.
See commercialhaskell/stack#6046.
  • Loading branch information
jgm committed Feb 9, 2023
1 parent 3c6e339 commit 4edc02d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 4edc02d

Please sign in to comment.