Hash based on hieref
authorLuke Lau <luke_lau@icloud.com>
Sun, 19 Jan 2020 22:12:11 +0000 (22:12 +0000)
committerLuke Lau <luke_lau@icloud.com>
Sun, 19 Jan 2020 23:51:02 +0000 (23:51 +0000)
.github/workflows/haskell.yml

index 1e80a3c82ee8c58f648fabf137ece03261153f3c..86507b4ff5fd52104bd134c9f0f900be9ba43680 100644 (file)
@@ -37,7 +37,7 @@ jobs:
       uses: actions/cache@v1.1.0
       with:
         path: ~/.cabal
-        key: ${{ runner.OS }}-${{ matrix.ghc }}-cabal-${{ hashFiles('*.cabal') }}
+        key: ${{ runner.OS }}-${{ matrix.ghc }}-cabal-${{ env.hieref }}
         restore-keys: |
           ${{ runner.OS }}-${{ matrix.ghc }}-cabal