mirror of
https://github.com/actions/runner-images.git
synced 2026-01-05 01:35:22 +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:
@@ -27,7 +27,7 @@ if is_Less_Catalina; then
|
||||
npm install -g appcenter-cli@^1.0.0
|
||||
else
|
||||
# Install Node.JS 12 for macOS >= 10.15
|
||||
brew install node@14
|
||||
brew_smart_install "node@14"
|
||||
brew link node@14 --force
|
||||
|
||||
for module in ${node_modules[@]}; do
|
||||
|
||||
Reference in New Issue
Block a user