diff --git a/.github/workflows/windows-nightly.yml b/.github/workflows/windows-nightly.yml index a6c971c3f..c5bec2697 100644 --- a/.github/workflows/windows-nightly.yml +++ b/.github/workflows/windows-nightly.yml @@ -122,8 +122,8 @@ jobs: # actions - - name: Add stack local bin to PATH - run: echo "::add-path::C:\Users\runneradmin\AppData\Roaming\stack\local\bin" + # - name: Add stack local bin to PATH + # run: echo "::add-path::C:\Users\runneradmin\AppData\Roaming\stack\local\bin" - name: Install stack if: steps.stack-local-bin-dir.outputs.cache-hit != 'true' @@ -134,9 +134,9 @@ jobs: - name: Install GHC if: steps.stack-global-db.outputs.cache-hit != 'true' + # echo "::add-path::C:\Users\runneradmin\AppData\Roaming\stack\local\bin" run: | - echo "::add-path::C:\Users\runneradmin\AppData\Roaming\stack\local\bin" - stack --no-terminal setup --install-ghc + C:\Users\runneradmin\AppData\Roaming\stack\local\bin\stack --no-terminal setup --install-ghc # - name: Install shelltestrunner # - if [[ ! -x ~/.local/bin/shelltest ]]; then stack install shelltestrunner-1.9; fi @@ -144,12 +144,12 @@ jobs: - name: Install haskell deps if: steps.stack-global-db.outputs.cache-hit != 'true' + # echo "::add-path::C:\Users\runneradmin\AppData\Roaming\stack\local\bin" run: | - echo "::add-path::C:\Users\runneradmin\AppData\Roaming\stack\local\bin" - stack --no-terminal build --only-dependencies + C:\Users\runneradmin\AppData\Roaming\stack\local\bin\stack --no-terminal build --only-dependencies - name: Build hledger - run: stack --no-terminal install --ghc-options=-Werror + run: C:\Users\runneradmin\AppData\Roaming\stack\local\bin\stack --no-terminal install --ghc-options=-Werror # run hledger-lib/hledger functional tests, skipping the ones for addons #- COLUMNS=80 stack exec -- shelltest --execdir -j16 tests -x /bin -x /addons