mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-15 06:19:21 +00:00
Another mop up commit to add missing changes from the last mop-up.
This commit is contained in:
@@ -1,23 +1,23 @@
|
||||
################################################################################
|
||||
## File: Validate-Perl.ps1
|
||||
## Desc: Validate perl
|
||||
################################################################################
|
||||
|
||||
if (Get-Command -Name 'perl')
|
||||
{
|
||||
Write-Host "perl on path"
|
||||
}
|
||||
else
|
||||
{
|
||||
Write-Host 'perl is not on path'
|
||||
exit 1
|
||||
}
|
||||
|
||||
# Adding description of the software to Markdown
|
||||
$SoftwareName = "Perl"
|
||||
|
||||
$Description = @"
|
||||
_Version:_ $(perl -e 'print $^V')<br/>
|
||||
"@
|
||||
|
||||
Add-SoftwareDetailsToMarkdown -SoftwareName $SoftwareName -DescriptionMarkdown $Description
|
||||
################################################################################
|
||||
## File: Validate-Perl.ps1
|
||||
## Desc: Validate perl
|
||||
################################################################################
|
||||
|
||||
if (Get-Command -Name 'perl')
|
||||
{
|
||||
Write-Host "perl on path"
|
||||
}
|
||||
else
|
||||
{
|
||||
Write-Host 'perl is not on path'
|
||||
exit 1
|
||||
}
|
||||
|
||||
# Adding description of the software to Markdown
|
||||
$SoftwareName = "Perl"
|
||||
|
||||
$Description = @"
|
||||
_Version:_ $(perl -e 'print $^V')<br/>
|
||||
"@
|
||||
|
||||
Add-SoftwareDetailsToMarkdown -SoftwareName $SoftwareName -DescriptionMarkdown $Description
|
||||
|
||||
Reference in New Issue
Block a user