mirror of
https://github.com/actions/runner-images.git
synced 2025-12-31 14:29:16 +08: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 'iscc')
|
||||
{
|
||||
Write-Host "iscc is on PATH"
|
||||
Write-Host 'iscc is on PATH'
|
||||
}
|
||||
else
|
||||
{
|
||||
Write-Host "iscc is not on PATH"
|
||||
Write-Host 'iscc is not on PATH'
|
||||
exit 1
|
||||
}
|
||||
|
||||
# Adding description of the software to Markdown
|
||||
$SoftwareName = "Inno Setup"
|
||||
|
||||
$ChocoList = $(choco list --local-only innosetup) | Select-String -Pattern "InnoSetup"
|
||||
$ChocoList -Match "\d+\.\d+\.\d+"
|
||||
$Version = $Matches[0]
|
||||
|
||||
$Description = @"
|
||||
_Version:_ $Version<br/>
|
||||
"@
|
||||
|
||||
Add-SoftwareDetailsToMarkdown -SoftwareName $SoftwareName -DescriptionMarkdown $Description
|
||||
|
||||
Reference in New Issue
Block a user