mirror of
https://github.com/actions/runner-images.git
synced 2026-01-10 20:52:45 +08:00
Cleanup old markdown documenation approach (#979)
This commit is contained in:
committed by
GitHub
parent
8c8f384a61
commit
43e26fa96b
@@ -9,23 +9,8 @@ if(Get-Command -Name 'cmake')
|
||||
}
|
||||
else
|
||||
{
|
||||
Write-Host 'CMake not on path'
|
||||
Write-Host "CMake not on path"
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
||||
if( $( $(cmake -version) | Out-String) -match 'cmake version (?<version>.*).*' )
|
||||
{
|
||||
$cmakeVersion = $Matches.version.Trim()
|
||||
}
|
||||
|
||||
# Adding description of the software to Markdown
|
||||
$SoftwareName = "CMake"
|
||||
|
||||
$Description = @"
|
||||
_Version:_ $cmakeVersion<br/>
|
||||
_Environment:_
|
||||
* PATH: contains location of cmake.exe
|
||||
"@
|
||||
|
||||
Add-SoftwareDetailsToMarkdown -SoftwareName $SoftwareName -DescriptionMarkdown $Description
|
||||
|
||||
Reference in New Issue
Block a user