[Ubuntu] Add python toolcache to 22.04 (#5478)

This commit is contained in:
Mikhail Koliada
2022-05-04 13:54:56 +02:00
committed by GitHub
parent 30007c5703
commit 97fd5e03b4
2 changed files with 16 additions and 3 deletions

View File

@@ -55,10 +55,10 @@ function Build-CachedToolsSection {
$output += New-MDHeader "PyPy" -Level 4
$output += New-MDList -Lines (Get-ToolcachePyPyVersions) -Style Unordered
if ((Test-IsUbuntu18) -or (Test-IsUbuntu20)) {
$output += New-MDHeader "Python" -Level 4
$output += New-MDList -Lines (Get-ToolcachePythonVersions) -Style Unordered
if ((Test-IsUbuntu18) -or (Test-IsUbuntu20)) {
$output += New-MDHeader "Ruby" -Level 4
$output += New-MDList -Lines (Get-ToolcacheRubyVersions) -Style Unordered
}

View File

@@ -1,5 +1,18 @@
{
"toolcache": [
{
"name": "Python",
"url" : "https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json",
"platform" : "linux",
"platform_version": "22.04",
"arch": "x64",
"versions": [
"3.7.*",
"3.8.*",
"3.9.*",
"3.10.*"
]
},
{
"name": "PyPy",
"arch": "x64",