Attempt to cache less aggressively to avoid dylib issues on macos (#896)

This commit is contained in:
Jared Weakly 2020-09-16 16:43:13 -07:00 committed by GitHub
parent 123ae5ef70
commit bcb2f8fe08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 6 deletions

View File

@ -58,11 +58,9 @@ jobs:
path: | path: |
${{ steps.setup-haskell.outputs.cabal-store }} ${{ steps.setup-haskell.outputs.cabal-store }}
dist-newstyle dist-newstyle
key: cabal-${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('**/cabal.GHC-*') }}-${{ github.sha }} key: cabal-${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles(format('cabal.GHC-{0}.config', matrix.ghc)) }}-${{ github.sha }}
restore-keys: | restore-keys: |
cabal-${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles(format('cabal.GHC-{0}.config', matrix.ghc)) }}- cabal-${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles(format('cabal.GHC-{0}.config', matrix.ghc)) }}-
cabal-${{ runner.os }}-${{ matrix.ghc }}-
cabal-${{ runner.os }}-
- shell: bash - shell: bash
run: .github/ci.sh install_system_deps run: .github/ci.sh install_system_deps

View File

@ -78,11 +78,9 @@ jobs:
path: | path: |
${{ steps.setup-haskell.outputs.cabal-store }} ${{ steps.setup-haskell.outputs.cabal-store }}
dist-newstyle dist-newstyle
key: cabal-${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('**/cabal.GHC-*') }}-${{ github.sha }} key: cabal-${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles(format('cabal.GHC-{0}.config', matrix.ghc)) }}-${{ github.sha }}
restore-keys: | restore-keys: |
cabal-${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles(format('cabal.GHC-{0}.config', matrix.ghc)) }}- cabal-${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles(format('cabal.GHC-{0}.config', matrix.ghc)) }}-
cabal-${{ runner.os }}-${{ matrix.ghc }}-
cabal-${{ runner.os }}-
- uses: actions/download-artifact@v2 - uses: actions/download-artifact@v2
with: with: