1
0
Fork 0
mirror of https://github.com/actions/setup-python.git synced 2025-06-08 06:27: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');
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');