From 3679dde28e7503bc95968e3df05a428f7ef5a979 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sun, 25 Feb 2024 18:29:37 +0800 Subject: [PATCH] Don't test for manpage on windows --- .github/workflows/install-bindist.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/install-bindist.sh b/.github/workflows/install-bindist.sh index 7f9ff4d..d36f476 100755 --- a/.github/workflows/install-bindist.sh +++ b/.github/workflows/install-bindist.sh @@ -111,7 +111,13 @@ case $TOOL in cabal install --lib --package-env=. clock # https://github.com/haskell/ghcup-hs/issues/966 cabal install --lib --package-env=. hashable - [[ -e "$(ghcup whereis --directory ghc "$VERSION")/../share/man/man1/ghc.1" ]] + case "$(uname -s)" in + MSYS_*|MINGW*) + ;; + *) + [[ -e "$(ghcup whereis --directory ghc "$VERSION")/../share/man/man1/ghc.1" ]] + ;; + esac ;; cabal) ghcup_fun install ghc --set "$(ghcup_fun list -t ghc -r -c available | tail -1 | awk '{ print $2 }')"