Skip to content

Commit 953cd14

Browse files
authored
Fix cache job on windows (#4800)
1 parent 93f9722 commit 953cd14

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/caching.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,13 @@ on:
4646

4747
# Not using a explicit target to build the top level haskell-language-server package
4848
# which make build the rest of subpackages *libs* (but shake-bench)
49+
#
50+
# We choose a very short build directory, as we run into long path issues on windows.
51+
# See cabal tracking issue https://github.com/haskell/cabal/issues/11395
52+
# We can't set the `--builddir` via `v2-configure` as cabal doesn't support this.
53+
# https://github.com/haskell/cabal/issues/5271
4954
env:
50-
cabalBuild: "v2-build --keep-going"
55+
cabalBuild: "v2-build --keep-going --builddir b"
5156

5257
jobs:
5358
pre_job:

0 commit comments

Comments
 (0)