mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +00:00
get-osversion changed
This commit is contained in:
@@ -37,7 +37,7 @@ function Get-OSVersion {
|
|||||||
IsBigSur = $osVersionMajorMinor -eq "11.0"
|
IsBigSur = $osVersionMajorMinor -eq "11.0"
|
||||||
IsLessThanCatalina = [SemVer]$osVersion.Version -lt "10.15"
|
IsLessThanCatalina = [SemVer]$osVersion.Version -lt "10.15"
|
||||||
IsLessThanBigSur = [SemVer]$osVersion.Version -lt "11.0"
|
IsLessThanBigSur = [SemVer]$osVersion.Version -lt "11.0"
|
||||||
IsHigherThanMojave = [SemVer]$osVersion.Version -gt "10.14"
|
IsHigherThanMojave = [SemVer]$osVersion.Version -ge "10.15"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user