mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
[macOS] Reconsider YQ installation on macOS 11 (#8793)
* [macOS] Reconsider YQ installation on macOS 11 * Revert previous YQ installation related changes
This commit is contained in:
@@ -1,6 +1,12 @@
|
|||||||
#!/bin/bash -e -o pipefail
|
#!/bin/bash -e -o pipefail
|
||||||
source ~/utils/utils.sh
|
source ~/utils/utils.sh
|
||||||
|
|
||||||
|
# Download and install YQ in cases when it is not available in the formulae as for macOS 11: https://formulae.brew.sh/formula/yq
|
||||||
|
if is_BigSur; then
|
||||||
|
download_with_retries "https://github.com/mikefarah/yq/releases/latest/download/yq_darwin_amd64" "/tmp" "yq"
|
||||||
|
sudo install /tmp/yq /usr/local/bin/yq
|
||||||
|
fi
|
||||||
|
|
||||||
# Monterey needs future review:
|
# Monterey needs future review:
|
||||||
# aliyun-cli, gnupg, helm have issues with building from the source code.
|
# aliyun-cli, gnupg, helm have issues with building from the source code.
|
||||||
# Added gmp for now, because toolcache ruby needs its libs. Remove it when php starts to build from source code.
|
# Added gmp for now, because toolcache ruby needs its libs. Remove it when php starts to build from source code.
|
||||||
|
|||||||
@@ -2,11 +2,6 @@
|
|||||||
|
|
||||||
source ~/utils/utils.sh
|
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"
|
||||||
|
|||||||
@@ -220,7 +220,6 @@
|
|||||||
"libxft",
|
"libxft",
|
||||||
"tcl-tk",
|
"tcl-tk",
|
||||||
"r",
|
"r",
|
||||||
"yq",
|
|
||||||
"imagemagick"
|
"imagemagick"
|
||||||
],
|
],
|
||||||
"cask_packages": [
|
"cask_packages": [
|
||||||
|
|||||||
Reference in New Issue
Block a user