;ci: github: windows: tweak caching
This commit is contained in:
parent
0d4158dfe0
commit
db8bd22c6f
5
.github/workflows/windows-nightly.yml
vendored
5
.github/workflows/windows-nightly.yml
vendored
@ -122,6 +122,9 @@ jobs:
|
|||||||
|
|
||||||
# actions
|
# actions
|
||||||
|
|
||||||
|
- name: Add stack local bin to PATH
|
||||||
|
run: echo "::add-path::C:\Users\runneradmin\AppData\Roaming\stack\local\bin"
|
||||||
|
|
||||||
- name: Install stack
|
- name: Install stack
|
||||||
if: steps.stack-local-bin-dir.outputs.cache-hit != 'true'
|
if: steps.stack-local-bin-dir.outputs.cache-hit != 'true'
|
||||||
run: |
|
run: |
|
||||||
@ -139,6 +142,7 @@ jobs:
|
|||||||
# - shelltest --version
|
# - shelltest --version
|
||||||
|
|
||||||
- name: Install haskell deps
|
- name: Install haskell deps
|
||||||
|
if: steps.stack-global-db.outputs.cache-hit != 'true'
|
||||||
run: |
|
run: |
|
||||||
stack --no-terminal build --only-dependencies
|
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.
|
# 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)
|
# cmake -B build -S . -DCMAKE_BUILD_TYPE=Debug ... # Same as above (duplicated)
|
||||||
|
|
||||||
# echo "::add-path::/path/to/dir"
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user