From b22463c4c466660f086b34777a8edeb2064db6ed Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 8 Feb 2023 20:17:30 -0800 Subject: [PATCH] Windows CI: don't cache local packages. We're running into a stack bug with internal libraries. See commercialhaskell/stack#6046. --- .github/workflows/ci.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a3f0fd4b600a..e61c1fa14a2d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: |