[Ubuntu] Add node toolcache to 22.04 (#5480)

This commit is contained in:
Mikhail Koliada
2022-05-04 15:26:55 +02:00
committed by GitHub
parent 97fd5e03b4
commit c4f55aa749
2 changed files with 12 additions and 4 deletions

View File

@@ -47,10 +47,8 @@ function Build-CachedToolsSection {
$output += New-MDHeader "Go" -Level 4
$output += New-MDList -Lines (Get-ToolcacheGoVersions) -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 "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

View File

@@ -23,6 +23,16 @@
"3.9"
]
},
{
"name": "node",
"url" : "https://raw.githubusercontent.com/actions/node-versions/main/versions-manifest.json",
"platform" : "linux",
"arch": "x64",
"versions": [
"14.*",
"16.*"
]
},
{
"name": "go",
"url" : "https://raw.githubusercontent.com/actions/go-versions/main/versions-manifest.json",