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
@@ -5,23 +5,11 @@
|
||||
|
||||
if (Get-Command -Name 'stack')
|
||||
{
|
||||
Write-Host "stack is on the path"
|
||||
Write-Host 'stack is on the path'
|
||||
}
|
||||
else
|
||||
{
|
||||
Write-Host "stack is not on path."
|
||||
Write-Host 'stack is not on path.'
|
||||
exit 1
|
||||
}
|
||||
|
||||
$StackVersion = stack --version --quiet
|
||||
|
||||
# Adding description of the software to Markdown
|
||||
$SoftwareName = "Stack"
|
||||
|
||||
$Description = @"
|
||||
_Version:_ $StackVersion<br/>
|
||||
_Environment:_
|
||||
* PATH: contains location of stack.exe
|
||||
"@
|
||||
|
||||
Add-SoftwareDetailsToMarkdown -SoftwareName $SoftwareName -DescriptionMarkdown $Description
|
||||
|
||||
Reference in New Issue
Block a user