mirror of
https://github.com/actions/runner-images.git
synced 2025-12-10 11:07:02 +00:00
26 lines
420 B
PowerShell
26 lines
420 B
PowerShell
function Add-ContentToMarkdown {
|
|
[CmdletBinding()]
|
|
param(
|
|
$Content = ""
|
|
)
|
|
|
|
Add-Content 'C:\InstalledSoftware.md' $Content
|
|
}
|
|
|
|
|
|
function Add-SoftwareDetailsToMarkdown {
|
|
[CmdletBinding()]
|
|
param(
|
|
$SoftwareName = "",
|
|
$DescriptionMarkdown = ""
|
|
)
|
|
|
|
$Content = @"
|
|
|
|
## $SoftwareName
|
|
|
|
$DescriptionMarkdown
|
|
"@
|
|
Add-ContentToMarkdown -Content $Content
|
|
}
|