mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 13:17:54 +00:00
Inital commit.
This commit is contained in:
25
images/win/scripts/ImageHelpers/MarkdownHelpers.ps1
Normal file
25
images/win/scripts/ImageHelpers/MarkdownHelpers.ps1
Normal file
@@ -0,0 +1,25 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user