mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 14:17:22 +00:00
Cleanup old markdown documenation approach (#979)
This commit is contained in:
committed by
GitHub
parent
8c8f384a61
commit
43e26fa96b
@@ -5,27 +5,13 @@
|
||||
|
||||
Choco-Install -PackageName awscli
|
||||
|
||||
$env:PATH =$env:PATH + ";$Env:Programfiles\Amazon\AWSCLIV2"
|
||||
|
||||
$command = Get-Command -Name 'aws'
|
||||
|
||||
if ($command)
|
||||
$env:Path = $env:Path + ";$env:ProgramFiles\Amazon\AWSCLIV2"
|
||||
if (Get-Command -Name 'aws')
|
||||
{
|
||||
Write-Host "awscli on path"
|
||||
Write-Host 'awscli on path'
|
||||
}
|
||||
else
|
||||
{
|
||||
Write-Host 'awscli is not on path'
|
||||
exit 1
|
||||
}
|
||||
|
||||
# Adding description of the software to Markdown
|
||||
$SoftwareName = "AWS CLI"
|
||||
|
||||
$version = (aws --version).Split(" ")[0].Replace("/"," ")
|
||||
|
||||
$Description = @"
|
||||
_Version:_ $version<br/>
|
||||
"@
|
||||
|
||||
Add-SoftwareDetailsToMarkdown -SoftwareName $SoftwareName -DescriptionMarkdown $Description
|
||||
Reference in New Issue
Block a user