File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,18 @@ jobs:
1818 steps :
1919
2020 - name : Determine stack root
21+ # # 2023-11-21 https://github.com/commercialhaskell/stack/issues/6340
22+ # # Asking stack for the stack root unfortunately does not work
23+ # # if stack is not fully operational (meaning e.g. that GHC is installed)
24+ # # so we hardcode its location instead.
2125 run : |
22- STACK_ROOT="$(stack --system-ghc --no-install-ghc path --stack-root || echo "C:/Users/runneradmin/AppData/Local/Programs/stack/x86_64-windows")"
23- echo "STACK_ROOT = ${STACK_ROOT}"
26+ STACK_ROOT="C:/Users/runneradmin/AppData/Local/Programs/stack/x86_64-windows"
2427 echo STACK_ROOT="${STACK_ROOT}" >> "${GITHUB_ENV}"
28+ # run: |
29+ # STACK_ROOT="$(stack --system-ghc --no-install-ghc path --stack-root || echo "C:/Users/runneradmin/AppData/Local/Programs/stack/x86_64-windows")"
30+ # echo "STACK_ROOT = ${STACK_ROOT}"
31+ # echo STACK_ROOT="${STACK_ROOT}" >> "${GITHUB_ENV}"
32+ # What about C:/Users/runneradmin/AppData/Roaming/stack ?
2533
2634 - name : 📥 Checkout repository
2735 uses : actions/checkout@v4
You can’t perform that action at this time.
0 commit comments