diff --git a/src/install-python.ts b/src/install-python.ts index 42b51130..7e1e5354 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/actions/python-versions/releases', + 'https://github.com/actions/python-versions/releases/download', PYTHON_DOWNLOAD_BASE_URL );