Adjusted the URL replaced part again

This commit is contained in:
GolanTrevize10 2025-08-15 18:03:14 +02:00 committed by GitHub
parent 916f37ea97
commit 55cba3512a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
);