[Ubuntu] Add Ubuntu Server 22.04 LTS template (#5454)

This commit is contained in:
Aleksandr Chebotov
2022-05-02 10:46:10 +02:00
committed by GitHub
parent 623df76820
commit 9d80842cc3
23 changed files with 833 additions and 89 deletions

View File

@@ -47,17 +47,21 @@ function Build-CachedToolsSection {
$output += New-MDHeader "Go" -Level 4
$output += New-MDList -Lines (Get-ToolcacheGoVersions) -Style Unordered
$output += New-MDHeader "Node.js" -Level 4
$output += New-MDList -Lines (Get-ToolcacheNodeVersions) -Style Unordered
if ((Test-IsUbuntu18) -or (Test-IsUbuntu20)) {
$output += New-MDHeader "Node.js" -Level 4
$output += New-MDList -Lines (Get-ToolcacheNodeVersions) -Style Unordered
}
$output += New-MDHeader "PyPy" -Level 4
$output += New-MDList -Lines (Get-ToolcachePyPyVersions) -Style Unordered
$output += New-MDHeader "Python" -Level 4
$output += New-MDList -Lines (Get-ToolcachePythonVersions) -Style Unordered
if ((Test-IsUbuntu18) -or (Test-IsUbuntu20)) {
$output += New-MDHeader "Python" -Level 4
$output += New-MDList -Lines (Get-ToolcachePythonVersions) -Style Unordered
$output += New-MDHeader "Ruby" -Level 4
$output += New-MDList -Lines (Get-ToolcacheRubyVersions) -Style Unordered
$output += New-MDHeader "Ruby" -Level 4
$output += New-MDList -Lines (Get-ToolcacheRubyVersions) -Style Unordered
}
return $output
}