mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 22:26:56 +00:00
[macOS] Remove macOS 10.14 related code in the VE repo (#4816)
* [MacOS] Remove code for macOS-10.14 * remove is_Less_BigSur in all script * remove variable the IsLessThanBigSur
This commit is contained in:
@@ -63,32 +63,8 @@ is_Catalina() {
|
||||
fi
|
||||
}
|
||||
|
||||
is_Mojave() {
|
||||
if [ "$OSTYPE" = "darwin18" ]; then
|
||||
true
|
||||
else
|
||||
false
|
||||
fi
|
||||
}
|
||||
|
||||
is_Less_Catalina() {
|
||||
if is_Mojave; then
|
||||
true
|
||||
else
|
||||
false
|
||||
fi
|
||||
}
|
||||
|
||||
is_Less_BigSur() {
|
||||
if is_Mojave || is_Catalina; then
|
||||
true
|
||||
else
|
||||
false
|
||||
fi
|
||||
}
|
||||
|
||||
is_Less_Monterey() {
|
||||
if is_Mojave || is_Catalina || is_BigSur; then
|
||||
if is_Catalina || is_BigSur; then
|
||||
true
|
||||
else
|
||||
false
|
||||
@@ -124,9 +100,7 @@ brew_cask_install_ignoring_sha256() {
|
||||
}
|
||||
|
||||
get_brew_os_keyword() {
|
||||
if is_Mojave; then
|
||||
echo "mojave"
|
||||
elif is_Catalina; then
|
||||
if is_Catalina; then
|
||||
echo "catalina"
|
||||
elif is_BigSur; then
|
||||
echo "big_sur"
|
||||
|
||||
Reference in New Issue
Block a user