mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
Revert "Another mop up commit to add missing changes from the last mop-up."
This reverts commit 1dcd276b1e.
This commit is contained in:
@@ -1,25 +1,25 @@
|
||||
################################################################################
|
||||
## File: Validate-7zip.ps1
|
||||
## Desc: Validate 7zip
|
||||
################################################################################
|
||||
|
||||
if (Get-Command -Name '7z')
|
||||
{
|
||||
Write-Host "7zip on path"
|
||||
}
|
||||
else
|
||||
{
|
||||
Write-Host '7zip is not on path'
|
||||
exit 1
|
||||
}
|
||||
|
||||
# Adding description of the software to Markdown
|
||||
$SoftwareName = "7zip"
|
||||
$(7z --help).Split([System.Environment]::NewLine)[1] -match "\d+\.\d+"
|
||||
$7zipVersion = $matches[0]
|
||||
|
||||
$Description = @"
|
||||
_Version:_ $7zipVersion<br/>
|
||||
"@
|
||||
|
||||
Add-SoftwareDetailsToMarkdown -SoftwareName $SoftwareName -DescriptionMarkdown $Description
|
||||
################################################################################
|
||||
## File: Validate-7zip.ps1
|
||||
## Desc: Validate 7zip
|
||||
################################################################################
|
||||
|
||||
if (Get-Command -Name '7z')
|
||||
{
|
||||
Write-Host "7zip on path"
|
||||
}
|
||||
else
|
||||
{
|
||||
Write-Host '7zip is not on path'
|
||||
exit 1
|
||||
}
|
||||
|
||||
# Adding description of the software to Markdown
|
||||
$SoftwareName = "7zip"
|
||||
$(7z --help).Split([System.Environment]::NewLine)[1] -match "\d+\.\d+"
|
||||
$7zipVersion = $matches[0]
|
||||
|
||||
$Description = @"
|
||||
_Version:_ $7zipVersion<br/>
|
||||
"@
|
||||
|
||||
Add-SoftwareDetailsToMarkdown -SoftwareName $SoftwareName -DescriptionMarkdown $Description
|
||||
|
||||
Reference in New Issue
Block a user