tools: appveyor: troubleshooting stack#4125

[ci skip]
This commit is contained in:
Simon Michael 2018-07-02 16:57:46 +01:00
parent 0a81400b08
commit f9d1f14a1b

View File

@ -36,14 +36,14 @@ cache:
- hledger-web\.stack-work -> hledger-web\**
install:
# - curl -skL -ostack.zip http://www.stackage.org/stack/windows-x86_64
# - 7z x stack.zip stack.exe
#- stack --version
- curl -skL -ostack.zip http://www.stackage.org/stack/windows-x86_64
- 7z x stack.zip stack.exe
- move stack.exe stack-release.exe
- stack-release --version
# temporary, troubleshooting https://github.com/commercialhaskell/stack/issues/4125
- echo %PATH%
- set PATH=C:\Users\appveyor\AppData\Roaming\local\bin;%PATH%
- echo %PATH%
#- stack upgrade --git
- stack-release upgrade --git
- copy C:\Users\appveyor\AppData\Roaming\local\bin\stack.exe .
- stack --version