mirror of
https://github.com/actions/setup-python.git
synced 2025-09-10 10:46:17 +00:00
Replace longer part of download URL
This commit is contained in:
parent
47a081effe
commit
825358b22b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue