diff --git a/src/install-python.ts b/src/install-python.ts index 14362ca1..42b51130 100644 --- a/src/install-python.ts +++ b/src/install-python.ts @@ -128,7 +128,7 @@ export async function installCpythonFromRelease(release: tc.IToolRelease) { const downloadUrl = !PYTHON_DOWNLOAD_BASE_URL ? release.files[0].download_url : release.files[0].download_url.replace( - 'https://github.com/', + 'https://github.com/actions/python-versions/releases', PYTHON_DOWNLOAD_BASE_URL );