1
0
Fork 0
mirror of https://github.com/actions/setup-python.git synced 2025-06-08 14:37:00 +09:00

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

8740
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'); core.info('Extract downloaded archive');
let pythonExtractedFolder; let pythonExtractedFolder;
if (IS_WINDOWS) { if (IS_WINDOWS) {
pythonExtractedFolder = await tc.extractZip(pythonPath, `./${fileName}`); pythonExtractedFolder = await tc.extractZip(pythonPath);
} else { } else {
pythonExtractedFolder = await tc.extractTar(pythonPath, `./${fileName}`); pythonExtractedFolder = await tc.extractTar(pythonPath);
} }
core.info('Execute installation script'); core.info('Execute installation script');