Try moving hie checkout path
[lsp-test.git] / .github / workflows / haskell.yml
index fc7dc4122154ce56a738252639fa2300974079d4..6124028e8461baf163b8de7c34c444f2080962ad 100644 (file)
@@ -28,7 +28,7 @@ jobs:
         repository: haskell/haskell-ide-engine
         submodules: recurse
         ref: ${{ env.hieref }}
-        path: haskell-ide-engine
+        path: $HOME/haskell-ide-engine
 
     - name: Cache Cabal binaries
       uses: actions/cache@v1
@@ -42,10 +42,9 @@ jobs:
             echo "hie is already built"
             exit 0
         fi
-        pushd haskell-ide-engine
+        pushd $HOME/haskell-ide-engine
         cabal install hie
         cabal install hoogle
-        export PATH=$PATH:$HOME/.cabal/bin
         hoogle generate
         popd
     - name: Install JS Language Server