mirror of
https://github.com/actions/runner-images.git
synced 2025-12-12 20:26:49 +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:
@@ -50,7 +50,7 @@ $languageAndRuntimeList = @(
|
||||
(Get-FortranVersion)
|
||||
)
|
||||
|
||||
if ($os.IsLessThanBigSur) {
|
||||
if ($os.IsCatalina) {
|
||||
$languageAndRuntimeList += @(
|
||||
(Get-RVersion)
|
||||
)
|
||||
@@ -74,7 +74,8 @@ $packageManagementList = @(
|
||||
(Get-NuGetVersion),
|
||||
(Get-RubyGemsVersion),
|
||||
(Get-ComposerVersion),
|
||||
(Get-CarthageVersion)
|
||||
(Get-CarthageVersion),
|
||||
(Get-VcpkgVersion)
|
||||
)
|
||||
|
||||
if ($os.IsLessThanMonterey) {
|
||||
@@ -83,12 +84,6 @@ if ($os.IsLessThanMonterey) {
|
||||
)
|
||||
}
|
||||
|
||||
if ($os.IsHigherThanMojave) {
|
||||
$packageManagementList += @(
|
||||
(Get-VcpkgVersion)
|
||||
)
|
||||
}
|
||||
|
||||
$markdown += New-MDList -Style Unordered -Lines ($packageManagementList | Sort-Object)
|
||||
if ($os.IsLessThanMonterey) {
|
||||
$markdown += New-MDHeader "Environment variables" -Level 4
|
||||
@@ -141,13 +136,13 @@ if ($os.IsLessThanMonterey) {
|
||||
)
|
||||
}
|
||||
|
||||
if ($os.IsHigherThanMojave -and $os.IsLessThanMonterey) {
|
||||
if ($os.IsLessThanMonterey) {
|
||||
$utilitiesList += @(
|
||||
(Get-NewmanVersion)
|
||||
)
|
||||
}
|
||||
|
||||
if ($os.IsLessThanBigSur) {
|
||||
if ($os.IsCatalina) {
|
||||
$utilitiesList += @(
|
||||
(Get-VirtualBoxVersion),
|
||||
(Get-VagrantVersion),
|
||||
@@ -245,9 +240,8 @@ $markdown += Get-PowerShellModules | New-MDTable
|
||||
$markdown += New-MDNewLine
|
||||
|
||||
# Web Servers
|
||||
if ($os.IsHigherThanMojave) {
|
||||
$markdown += Build-WebServersSection
|
||||
}
|
||||
$markdown += Build-WebServersSection
|
||||
|
||||
|
||||
# Xamarin section
|
||||
$markdown += New-MDHeader "Xamarin" -Level 3
|
||||
@@ -282,7 +276,7 @@ $markdown += New-MDNewLine
|
||||
# Android section
|
||||
$markdown += New-MDHeader "Android" -Level 3
|
||||
$androidTable = Build-AndroidTable
|
||||
if ($os.IsLessThanBigSur) {
|
||||
if ($os.IsCatalina) {
|
||||
$androidTable += Get-IntelHaxmVersion
|
||||
}
|
||||
$markdown += $androidTable | New-MDTable
|
||||
|
||||
Reference in New Issue
Block a user