From 825358b22b06b7addeb0fbe49f5b1bad90386acd Mon Sep 17 00:00:00 2001 From: GolanTrevize10 <25170481+GolanTrevize10@users.noreply.github.com> Date: Fri, 15 Aug 2025 17:46:38 +0200 Subject: [PATCH] Replace longer part of download URL --- src/install-python.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 );