mirror of
https://github.com/actions/runner-images.git
synced 2026-01-01 15:09:03 +08:00
[macOS] Fix the issue with brew install (#2354)
* Update azure-cli installation * Update curl installation * Update git-lfs installation * Add utils * Update gnupg installation * Add brew_install function * Revert jq installation * Add condition for the aws-sam-cli * Add return to function, revert aws-sam-cli changes, rename brew_install function * Fix typo Co-authored-by: MaksimZhukov <v-mazhuk@microsoft.com>
This commit is contained in:
@@ -3,10 +3,10 @@ source ~/utils/utils.sh
|
||||
source ~/utils/invoke-tests.sh
|
||||
|
||||
echo "Install latest openssl"
|
||||
brew install openssl
|
||||
brew_smart_install "openssl"
|
||||
|
||||
echo "Install openssl@1.1"
|
||||
brew install openssl@1.1
|
||||
brew_smart_install "openssl@1.1"
|
||||
|
||||
# Symlink brew openssl@1.1 to `/usr/local/bin` as Homebrew refuses
|
||||
ln -sf $(brew --prefix openssl@1.1)/bin/openssl /usr/local/bin/openssl
|
||||
|
||||
Reference in New Issue
Block a user