From 4d7d4a7889723fcac14b034b4af5bc007a78505f Mon Sep 17 00:00:00 2001 From: Luke Lau Date: Wed, 6 Nov 2019 01:00:42 +0000 Subject: [PATCH] Cache dist-newstyle --- .github/workflows/haskell.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml index be04745..b241a5e 100644 --- a/.github/workflows/haskell.yml +++ b/.github/workflows/haskell.yml @@ -30,19 +30,18 @@ jobs: ref: ${{ env.hieref }} path: haskell-ide-engine - - name: Cache Cabal binaries + - name: Cache HIE uses: actions/cache@v1 with: - path: $HOME/.cabal/bin + path: haskell-ide-engine/dist-newstyle key: ${{ runner.OS }}-${{ matrix.ghc }}-${{ env.hieref }} - name: Build HIE run: | - if [ -e $HOME/.cabal/bin/hie ]; then - echo "hie is already built" - exit 0 - fi - ls ../ + # if [ -e $HOME/.cabal/bin/hie ]; then + # echo "hie is already built" + # exit 0 + # fi pushd ../haskell-ide-engine cabal install hie cabal install hoogle -- 2.30.2