mirror of
https://github.com/actions/setup-python.git
synced 2025-04-24 15:32:13 +00:00
fixed path for pythonExtractedFolder
This commit is contained in:
parent
2241d846ba
commit
642f418dbf
2 changed files with 4394 additions and 4388 deletions
8732
dist/index.js
vendored
8732
dist/index.js
vendored
File diff suppressed because it is too large
Load diff
|
@ -56,9 +56,9 @@ export async function installCpythonFromRelease(release: tc.IToolRelease) {
|
|||
core.info('Extract downloaded archive');
|
||||
let pythonExtractedFolder;
|
||||
if (IS_WINDOWS) {
|
||||
pythonExtractedFolder = await tc.extractZip(pythonPath, `./${fileName}`);
|
||||
pythonExtractedFolder = await tc.extractZip(pythonPath);
|
||||
} else {
|
||||
pythonExtractedFolder = await tc.extractTar(pythonPath, `./${fileName}`);
|
||||
pythonExtractedFolder = await tc.extractTar(pythonPath);
|
||||
}
|
||||
|
||||
core.info('Execute installation script');
|
||||
|
|
Loading…
Add table
Reference in a new issue