mirror of
https://github.com/actions/runner-images.git
synced 2025-12-13 20:56:47 +00:00
add condition
This commit is contained in:
@@ -22,10 +22,13 @@ $markdown += New-MDList -Style Unordered -Lines @(
|
|||||||
"Image Version: $env:ImageVersion"
|
"Image Version: $env:ImageVersion"
|
||||||
)
|
)
|
||||||
|
|
||||||
$markdown += New-MDHeader "Enabled windows optional features" -Level 2
|
if ($OSName -match "Microsoft Windows Server 2019 Datacenter")
|
||||||
$markdown += New-MDList -Style Unordered -Lines @(
|
{
|
||||||
"Windows Subsystem for Linux"
|
$markdown += New-MDHeader "Enabled windows optional features" -Level 2
|
||||||
)
|
$markdown += New-MDList -Style Unordered -Lines @(
|
||||||
|
"Windows Subsystem for Linux"
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
$markdown += New-MDHeader "Installed Software" -Level 2
|
$markdown += New-MDHeader "Installed Software" -Level 2
|
||||||
$markdown += New-MDHeader "Language and Runtime" -Level 3
|
$markdown += New-MDHeader "Language and Runtime" -Level 3
|
||||||
|
|||||||
Reference in New Issue
Block a user