From db8bd22c6ff34dc7a9508a13e4240c872b1d9923 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Sat, 7 Mar 2020 02:57:59 -0800 Subject: [PATCH] ;ci: github: windows: tweak caching --- .github/workflows/windows-nightly.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/windows-nightly.yml b/.github/workflows/windows-nightly.yml index 4b3e69967..5ffc68694 100644 --- a/.github/workflows/windows-nightly.yml +++ b/.github/workflows/windows-nightly.yml @@ -122,6 +122,9 @@ jobs: # actions + - 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' run: | @@ -139,6 +142,7 @@ jobs: # - shelltest --version - name: Install haskell deps + if: steps.stack-global-db.outputs.cache-hit != 'true' run: | stack --no-terminal build --only-dependencies @@ -169,4 +173,3 @@ jobs: # call "${{ matrix.vcvarsall }}" x64 # Sets a whole bunch of environment variables used by the next call to cmake. # cmake -B build -S . -DCMAKE_BUILD_TYPE=Debug ... # Same as above (duplicated) -# echo "::add-path::/path/to/dir"