[Ubuntu] Add Python to the Ubuntu 24.04 toolcache (#9820)

This commit is contained in:
Erik Bershel
2024-05-09 20:59:58 +02:00
committed by GitHub
parent eb6f6cc734
commit 5a54cdbbf1
2 changed files with 7 additions and 4 deletions

View File

@@ -263,9 +263,7 @@ if (-not $(Test-IsUbuntu24)) {
$cachedTools = $installedSoftware.AddHeader("Cached Tools")
$cachedTools.AddToolVersionsList("Go", $(Get-ToolcacheGoVersions), "^\d+\.\d+")
$cachedTools.AddToolVersionsList("Node.js", $(Get-ToolcacheNodeVersions), "^\d+")
if (-not $(Test-IsUbuntu24)) {
$cachedTools.AddToolVersionsList("Python", $(Get-ToolcachePythonVersions), "^\d+\.\d+")
}
$cachedTools.AddToolVersionsList("Python", $(Get-ToolcachePythonVersions), "^\d+\.\d+")
$cachedTools.AddToolVersionsList("PyPy", $(Get-ToolcachePyPyVersions), "^\d+\.\d+")
if (-not $(Test-IsUbuntu24)) {
$cachedTools.AddToolVersionsList("Ruby", $(Get-ToolcacheRubyVersions), "^\d+\.\d+")