fixed path for pythonExtractedFolder

This commit is contained in:
Nikita Bykov 2020-07-17 14:57:13 +03:00
parent 2241d846ba
commit 642f418dbf
2 changed files with 4394 additions and 4388 deletions

8736
dist/index.js vendored

File diff suppressed because it is too large Load diff

View file

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