mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
[macos11] Unlink brew ghc and cabal-install (#8778)
This commit is contained in:
committed by
GitHub
parent
df292beac6
commit
e5b8919eeb
@@ -1,5 +1,12 @@
|
|||||||
#!/bin/bash -e -o pipefail
|
#!/bin/bash -e -o pipefail
|
||||||
|
|
||||||
|
source ~/utils/utils.sh
|
||||||
|
|
||||||
|
# https://github.com/actions/runner-images/issues/8738
|
||||||
|
if is_BigSur; then
|
||||||
|
brew unlink ghc cabal-install
|
||||||
|
fi
|
||||||
|
|
||||||
curl --proto '=https' --tlsv1.2 -fsSL https://get-ghcup.haskell.org | sh
|
curl --proto '=https' --tlsv1.2 -fsSL https://get-ghcup.haskell.org | sh
|
||||||
export PATH="$HOME/.ghcup/bin:$PATH"
|
export PATH="$HOME/.ghcup/bin:$PATH"
|
||||||
echo 'export PATH="$PATH:$HOME/.ghcup/bin"' >> "$HOME/.bashrc"
|
echo 'export PATH="$PATH:$HOME/.ghcup/bin"' >> "$HOME/.bashrc"
|
||||||
|
|||||||
Reference in New Issue
Block a user