mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 22:26:56 +00:00
[macOS] Remove macOS 10.13 related code in the VE repo (#4494)
This commit is contained in:
committed by
GitHub
parent
bebaaa653c
commit
5ab1cb345e
@@ -71,16 +71,8 @@ is_Mojave() {
|
||||
fi
|
||||
}
|
||||
|
||||
is_HighSierra() {
|
||||
if [ "$OSTYPE" = "darwin17" ]; then
|
||||
true
|
||||
else
|
||||
false
|
||||
fi
|
||||
}
|
||||
|
||||
is_Less_Catalina() {
|
||||
if is_HighSierra || is_Mojave; then
|
||||
if is_Mojave; then
|
||||
true
|
||||
else
|
||||
false
|
||||
@@ -88,7 +80,7 @@ is_Less_Catalina() {
|
||||
}
|
||||
|
||||
is_Less_BigSur() {
|
||||
if is_HighSierra || is_Mojave || is_Catalina; then
|
||||
if is_Mojave || is_Catalina; then
|
||||
true
|
||||
else
|
||||
false
|
||||
@@ -96,7 +88,7 @@ is_Less_BigSur() {
|
||||
}
|
||||
|
||||
is_Less_Monterey() {
|
||||
if is_HighSierra || is_Mojave || is_Catalina || is_BigSur; then
|
||||
if is_Mojave || is_Catalina || is_BigSur; then
|
||||
true
|
||||
else
|
||||
false
|
||||
@@ -132,9 +124,7 @@ brew_cask_install_ignoring_sha256() {
|
||||
}
|
||||
|
||||
get_brew_os_keyword() {
|
||||
if is_HighSierra; then
|
||||
echo "high_sierra"
|
||||
elif is_Mojave; then
|
||||
if is_Mojave; then
|
||||
echo "mojave"
|
||||
elif is_Catalina; then
|
||||
echo "catalina"
|
||||
|
||||
Reference in New Issue
Block a user