mirror of
https://github.com/actions/runner-images.git
synced 2026-01-06 18:19:54 +08:00
Cleanup old markdown documenation approach (#979)
This commit is contained in:
committed by
GitHub
parent
8c8f384a61
commit
43e26fa96b
@@ -135,28 +135,3 @@ $sdkFileName = "sdksetup14393.exe"
|
||||
$argumentList = ("/q", "/norestart", "/ceip off", "/features OptionId.WindowsSoftwareDevelopmentKit")
|
||||
|
||||
Install-Binary -Url $sdkUrl -Name $sdkFileName -ArgumentList $argumentList
|
||||
|
||||
# Adding description of the software to Markdown
|
||||
|
||||
$SoftwareName = "Visual Studio 2019 Enterprise"
|
||||
|
||||
$Description = @"
|
||||
_Version:_ $version<br/>
|
||||
_Location:_ $VSInstallRoot
|
||||
|
||||
The following workloads and components are installed with Visual Studio 2019:
|
||||
"@
|
||||
|
||||
Add-SoftwareDetailsToMarkdown -SoftwareName $SoftwareName -DescriptionMarkdown $Description
|
||||
|
||||
# Adding explicitly added Workloads details to markdown by parsing $Workloads
|
||||
Add-ContentToMarkdown -Content $($WorkLoads.Split('--') | % { if( ($_.Split(" "))[0] -like "add") { "* " +($_.Split(" "))[1] } } )
|
||||
|
||||
# Adding additional SDKs to markdown
|
||||
$SDKDescription = @"
|
||||
|
||||
Additional Windows 10 SDKs:
|
||||
* Windows 10 SDK version 10.0.14393.795
|
||||
"@
|
||||
|
||||
Add-ContentToMarkdown -Content $SDKDescription
|
||||
|
||||
Reference in New Issue
Block a user