From: Luke Lau Date: Wed, 6 Nov 2019 01:00:42 +0000 (+0000) Subject: Cache dist-newstyle X-Git-Url: http://git.lukelau.me/?p=lsp-test.git;a=commitdiff_plain;h=4d7d4a7889723fcac14b034b4af5bc007a78505f;hp=81f355b80c168555f5af9a40bd3722e27e1b20a6 Cache dist-newstyle --- 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