mirror of
https://github.com/actions/setup-python.git
synced 2025-08-26 02:36:10 +00:00
Update install-python.ts
This commit is contained in:
parent
88907341c2
commit
c712311b50
@ -126,7 +126,7 @@ export async function installCpythonFromRelease(release: tc.IToolRelease) {
|
||||
throw new Error('No files found in the release to download.');
|
||||
}
|
||||
const downloadUrl = !PYTHON_DOWNLOAD_BASE_URL ? release.files[0].download_url : release.files[0].download_url.replace("https://github.com/", PYTHON_DOWNLOAD_BASE_URL);
|
||||
core.info(`base url "${PYTHON_DOWNLOAD_BASE_URL}")
|
||||
|
||||
|
||||
core.info(`Download from "${downloadUrl}"`);
|
||||
let pythonPath = '';
|
||||
|
Loading…
x
Reference in New Issue
Block a user