[macOS] Add Colima tool (#6285)

* Add Colima tool to macos images

* PR fixes: skip Catalina; switch to toolset json
This commit is contained in:
bogdan-damian-bgd
2022-09-27 09:54:35 +02:00
committed by GitHub
parent 00b572dfdf
commit ab4f43d818
5 changed files with 17 additions and 3 deletions

View File

@@ -596,4 +596,9 @@ function Get-CodeQLBundleVersion {
$CodeQLPath = Join-Path $CodeQLVersionPath -ChildPath "x64" | Join-Path -ChildPath "codeql" | Join-Path -ChildPath "codeql"
$CodeQLVersion = & $CodeQLPath version --quiet
return "CodeQL Action Bundle $CodeQLVersion"
}
}
function Get-ColimaVersion {
$colimaVersion = Run-Command "colima version" | Select-String "colima version" | Take-Part -Part 2
return "Colima $colimaVersion"
}