mirror of
https://github.com/actions/runner-images.git
synced 2026-01-20 03:11:10 +08:00
[macOS] Adding Bicep CLI (#3655)
* Add Bicep CLI * Correct regex for bicep version * Add Bicep CLI * use tap path for bicep brew install * use tap path for bicep brew install * use tap path for bicep brew install * Update bicep package name * Update bicep package name * Update bicep package name * Add install script in order to run homebrew tap * no need to reference utils.sh * Remove bicep from common packages * Add "CLI" to Bicep return statement Co-authored-by: Marcus Felling <MarcusFelling@microsoft.com>
This commit is contained in:
@@ -502,6 +502,11 @@ function Get-SwigVersion {
|
||||
return "Swig $swigVersion"
|
||||
}
|
||||
|
||||
function Get-BicepVersion {
|
||||
$bicepVersion = Run-Command "bicep --version" | Take-Part -Part 3
|
||||
return "Bicep CLI $bicepVersion"
|
||||
}
|
||||
|
||||
function Build-PackageManagementEnvironmentTable {
|
||||
return @(
|
||||
@{
|
||||
|
||||
@@ -167,7 +167,8 @@ $toolsList = @(
|
||||
(Get-AWSSessionManagerCLIVersion),
|
||||
(Get-AliyunCLIVersion),
|
||||
(Get-XcodeCommandLineToolsVersion),
|
||||
(Get-SwigVersion)
|
||||
(Get-SwigVersion),
|
||||
(Get-BicepVersion)
|
||||
)
|
||||
|
||||
if( -not $os.IsHighSierra) {
|
||||
|
||||
Reference in New Issue
Block a user