mirror of
https://github.com/actions/runner-images.git
synced 2025-12-12 12:06:59 +00:00
[macOS] Add virtualbox to macOS-12 (#5594)
* Add virtualbox to macOS-12 * Fix Get_OSVersion function as isBigSur didn't work * Use proper comparison
This commit is contained in:
@@ -141,12 +141,17 @@ if ($os.IsLessThanMonterey) {
|
||||
|
||||
if ($os.IsCatalina) {
|
||||
$utilitiesList += @(
|
||||
(Get-VirtualBoxVersion),
|
||||
(Get-VagrantVersion),
|
||||
(Get-ParallelVersion)
|
||||
)
|
||||
}
|
||||
|
||||
if (-not $os.IsBigSur) {
|
||||
$utilitiesList += @(
|
||||
(Get-VirtualBoxVersion)
|
||||
)
|
||||
}
|
||||
|
||||
$markdown += New-MDList -Style Unordered -Lines ($utilitiesList | Sort-Object)
|
||||
|
||||
# Tools
|
||||
|
||||
Reference in New Issue
Block a user