mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
Cleanup old markdown documenation approach (#979)
This commit is contained in:
committed by
GitHub
parent
8c8f384a61
commit
43e26fa96b
@@ -3,7 +3,7 @@
|
||||
## Desc: Validate Azure CLI
|
||||
################################################################################
|
||||
|
||||
if(Get-Command -Name 'az')
|
||||
if (Get-Command -Name 'az')
|
||||
{
|
||||
Write-Host "Azure Cli $(az --version) on path"
|
||||
}
|
||||
@@ -13,16 +13,3 @@ else
|
||||
exit 1
|
||||
}
|
||||
|
||||
$azureCliVersion = az -v | findstr azure-cli
|
||||
$azureCliVersion = $azureCliVersion.trim().Substring("azure-cli".Length).trim()
|
||||
|
||||
# Adding description of the software to Markdown
|
||||
$SoftwareName = "Azure CLI"
|
||||
|
||||
$Description = @"
|
||||
_Version:_ $azureCliVersion
|
||||
_Environment:_
|
||||
* PATH: contains location of az.cmd
|
||||
"@
|
||||
|
||||
Add-SoftwareDetailsToMarkdown -SoftwareName $SoftwareName -DescriptionMarkdown $Description
|
||||
|
||||
Reference in New Issue
Block a user