mirror of
https://github.com/actions/python-versions.git
synced 2025-12-15 15:32:11 +00:00
Compare commits
3 Commits
3.8.1-2020
...
3.7.7-2020
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
76790a5af2 | ||
|
|
97a66309b6 | ||
|
|
bb3cf0ebf1 |
@@ -102,19 +102,30 @@ if (-Not (Test-Path $PythonToolcachePath))
|
||||
}
|
||||
|
||||
Write-Host "Check if current Python version is installed..."
|
||||
$InstalledVersion = Get-ChildItem -Path $PythonToolcachePath -Filter "$MajorVersion.$MinorVersion.*"
|
||||
$InstalledVersions = Get-Item "$PythonToolcachePath\$MajorVersion.$MinorVersion.*\$Architecture"
|
||||
|
||||
if ($null -ne $InstalledVersions)
|
||||
{
|
||||
Write-Host "Python$MajorVersion.$MinorVersion ($Architecture) was found in $PythonToolcachePath..."
|
||||
|
||||
foreach ($InstalledVersion in $InstalledVersions)
|
||||
{
|
||||
if (Test-Path -Path $InstalledVersion)
|
||||
{
|
||||
Write-Host "Deleting $InstalledVersion..."
|
||||
Remove-Item -Path $InstalledVersion -Recurse -Force
|
||||
Remove-Item -Path "$($InstalledVersion.Parent.FullName)/${Architecture}.complete" -Force -Verbose
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Write-Host "No Python$MajorVersion.$MinorVersion.* found"
|
||||
}
|
||||
|
||||
Write-Host "Remove registry entries for Python ${MajorVersion}.${MinorVersion}(${Architecture})..."
|
||||
Remove-RegistryEntries -Architecture $Architecture -MajorVersion $MajorVersion -MinorVersion $MinorVersion
|
||||
|
||||
if (($null -ne $InstalledVersion) -and (Test-Path -Path $InstalledVersion.FullName)) {
|
||||
Write-Host "Python$MajorVersion.$MinorVersion was found in $PythonToolcachePath"
|
||||
Write-Host "Deleting $($InstalledVersion.FullName)..."
|
||||
Remove-Item -Path $InstalledVersion.FullName -Recurse -Force
|
||||
} else {
|
||||
Write-Host "No Python$MajorVersion.$MinorVersion.* found"
|
||||
}
|
||||
|
||||
Write-Host "Create Python $Version folder in $PythonToolcachePath"
|
||||
New-Item -ItemType Directory -Path $PythonArchPath -Force | Out-Null
|
||||
|
||||
|
||||
@@ -46,6 +46,100 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "3.8.1",
|
||||
"stable": true,
|
||||
"release_url": "https://github.com/actions/python-versions/releases/tag/3.8.1-20200429.16",
|
||||
"files": [
|
||||
{
|
||||
"filename": "python-3.8.1-macos-1014-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "darwin",
|
||||
"platform_version": "10.14",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.1-20200429.16/python-3.8.1-macos-1014-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.8.1-macos-1014-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "darwin",
|
||||
"platform_version": "10.15",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.1-20200429.16/python-3.8.1-macos-1014-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.8.1-ubuntu-1604-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "16.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.1-20200429.16/python-3.8.1-ubuntu-1604-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.8.1-ubuntu-1804-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "18.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.1-20200429.16/python-3.8.1-ubuntu-1804-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.8.1-windows-2016-x64.zip",
|
||||
"arch": "x64",
|
||||
"platform": "win32",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.1-20200429.16/python-3.8.1-windows-2016-x64.zip"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.8.1-windows-2016-x86.zip",
|
||||
"arch": "x86",
|
||||
"platform": "win32",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.1-20200429.16/python-3.8.1-windows-2016-x86.zip"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "3.8.0",
|
||||
"stable": true,
|
||||
"release_url": "https://github.com/actions/python-versions/releases/tag/3.8.0-20200429.15",
|
||||
"files": [
|
||||
{
|
||||
"filename": "python-3.8.0-macos-1014-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "darwin",
|
||||
"platform_version": "10.14",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.0-20200429.15/python-3.8.0-macos-1014-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.8.0-macos-1014-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "darwin",
|
||||
"platform_version": "10.15",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.0-20200429.15/python-3.8.0-macos-1014-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.8.0-ubuntu-1604-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "16.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.0-20200429.15/python-3.8.0-ubuntu-1604-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.8.0-ubuntu-1804-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "18.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.0-20200429.15/python-3.8.0-ubuntu-1804-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.8.0-windows-2016-x64.zip",
|
||||
"arch": "x64",
|
||||
"platform": "win32",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.0-20200429.15/python-3.8.0-windows-2016-x64.zip"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.8.0-windows-2016-x86.zip",
|
||||
"arch": "x86",
|
||||
"platform": "win32",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.0-20200429.15/python-3.8.0-windows-2016-x86.zip"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "3.7.7",
|
||||
"stable": true,
|
||||
@@ -93,6 +187,100 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "3.7.6",
|
||||
"stable": true,
|
||||
"release_url": "https://github.com/actions/python-versions/releases/tag/3.7.6-20200429.14",
|
||||
"files": [
|
||||
{
|
||||
"filename": "python-3.7.6-macos-1014-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "darwin",
|
||||
"platform_version": "10.14",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.7.6-20200429.14/python-3.7.6-macos-1014-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.7.6-macos-1014-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "darwin",
|
||||
"platform_version": "10.15",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.7.6-20200429.14/python-3.7.6-macos-1014-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.7.6-ubuntu-1604-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "16.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.7.6-20200429.14/python-3.7.6-ubuntu-1604-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.7.6-ubuntu-1804-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "18.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.7.6-20200429.14/python-3.7.6-ubuntu-1804-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.7.6-windows-2016-x64.zip",
|
||||
"arch": "x64",
|
||||
"platform": "win32",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.7.6-20200429.14/python-3.7.6-windows-2016-x64.zip"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.7.6-windows-2016-x86.zip",
|
||||
"arch": "x86",
|
||||
"platform": "win32",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.7.6-20200429.14/python-3.7.6-windows-2016-x86.zip"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "3.7.5",
|
||||
"stable": true,
|
||||
"release_url": "https://github.com/actions/python-versions/releases/tag/3.7.5-20200429.13",
|
||||
"files": [
|
||||
{
|
||||
"filename": "python-3.7.5-macos-1014-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "darwin",
|
||||
"platform_version": "10.14",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.7.5-20200429.13/python-3.7.5-macos-1014-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.7.5-macos-1014-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "darwin",
|
||||
"platform_version": "10.15",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.7.5-20200429.13/python-3.7.5-macos-1014-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.7.5-ubuntu-1604-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "16.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.7.5-20200429.13/python-3.7.5-ubuntu-1604-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.7.5-ubuntu-1804-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "18.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.7.5-20200429.13/python-3.7.5-ubuntu-1804-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.7.5-windows-2016-x64.zip",
|
||||
"arch": "x64",
|
||||
"platform": "win32",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.7.5-20200429.13/python-3.7.5-windows-2016-x64.zip"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.7.5-windows-2016-x86.zip",
|
||||
"arch": "x86",
|
||||
"platform": "win32",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.7.5-20200429.13/python-3.7.5-windows-2016-x86.zip"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "3.6.10",
|
||||
"stable": true,
|
||||
@@ -128,6 +316,41 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "3.6.9",
|
||||
"stable": true,
|
||||
"release_url": "https://github.com/actions/python-versions/releases/tag/3.6.9-20200429.17",
|
||||
"files": [
|
||||
{
|
||||
"filename": "python-3.6.9-macos-1014-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "darwin",
|
||||
"platform_version": "10.14",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.6.9-20200429.17/python-3.6.9-macos-1014-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.6.9-macos-1014-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "darwin",
|
||||
"platform_version": "10.15",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.6.9-20200429.17/python-3.6.9-macos-1014-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.6.9-ubuntu-1604-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "16.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.6.9-20200429.17/python-3.6.9-ubuntu-1604-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.6.9-ubuntu-1804-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "18.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.6.9-20200429.17/python-3.6.9-ubuntu-1804-x64.tar.gz"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "3.6.8",
|
||||
"stable": true,
|
||||
@@ -175,6 +398,53 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "3.6.7",
|
||||
"stable": true,
|
||||
"release_url": "https://github.com/actions/python-versions/releases/tag/3.6.7-20200429.12",
|
||||
"files": [
|
||||
{
|
||||
"filename": "python-3.6.7-macos-1014-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "darwin",
|
||||
"platform_version": "10.14",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.6.7-20200429.12/python-3.6.7-macos-1014-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.6.7-macos-1014-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "darwin",
|
||||
"platform_version": "10.15",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.6.7-20200429.12/python-3.6.7-macos-1014-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.6.7-ubuntu-1604-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "16.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.6.7-20200429.12/python-3.6.7-ubuntu-1604-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.6.7-ubuntu-1804-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "18.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.6.7-20200429.12/python-3.6.7-ubuntu-1804-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.6.7-windows-2016-x64.zip",
|
||||
"arch": "x64",
|
||||
"platform": "win32",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.6.7-20200429.12/python-3.6.7-windows-2016-x64.zip"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.6.7-windows-2016-x86.zip",
|
||||
"arch": "x86",
|
||||
"platform": "win32",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.6.7-20200429.12/python-3.6.7-windows-2016-x86.zip"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "3.5.9",
|
||||
"stable": true,
|
||||
@@ -303,5 +573,52 @@
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/2.7.18-20200429.1/python-2.7.18-windows-2016-x86.zip"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "2.7.17",
|
||||
"stable": true,
|
||||
"release_url": "https://github.com/actions/python-versions/releases/tag/2.7.17-20200429.9",
|
||||
"files": [
|
||||
{
|
||||
"filename": "python-2.7.17-macos-1014-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "darwin",
|
||||
"platform_version": "10.14",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/2.7.17-20200429.9/python-2.7.17-macos-1014-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-2.7.17-macos-1014-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "darwin",
|
||||
"platform_version": "10.15",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/2.7.17-20200429.9/python-2.7.17-macos-1014-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-2.7.17-ubuntu-1604-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "16.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/2.7.17-20200429.9/python-2.7.17-ubuntu-1604-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-2.7.17-ubuntu-1804-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "18.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/2.7.17-20200429.9/python-2.7.17-ubuntu-1804-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-2.7.17-windows-2016-x64.zip",
|
||||
"arch": "x64",
|
||||
"platform": "win32",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/2.7.17-20200429.9/python-2.7.17-windows-2016-x64.zip"
|
||||
},
|
||||
{
|
||||
"filename": "python-2.7.17-windows-2016-x86.zip",
|
||||
"arch": "x86",
|
||||
"platform": "win32",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/2.7.17-20200429.9/python-2.7.17-windows-2016-x86.zip"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user