mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 06:08:07 +00:00
[macOS] brew --cask option fix. (#2325)
* [macOS] brew --cask option fix. * removed curl from HS * return curl back
This commit is contained in:
@@ -37,7 +37,7 @@ do
|
||||
if [[ $JAVA_VERSION == "7" ]]; then
|
||||
installAzulJDK "https://cdn.azul.com/zulu/bin/zulu7.42.0.51-ca-jdk7.0.285-macosx_x64.dmg"
|
||||
else
|
||||
brew cask install "adoptopenjdk${JAVA_VERSION}"
|
||||
brew install --cask "adoptopenjdk${JAVA_VERSION}"
|
||||
fi
|
||||
createEnvironmentVariable "JAVA_HOME_${JAVA_VERSION}_X64" $JAVA_VERSION
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user