8000 Use GitHub releases to download python versions by MaksimZhukov · Pull Request #85 · actions/setup-python · GitHub
[go: up one dir, main page]

Skip to content

Use GitHub releases to download python versions #85

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Rename function
  • Loading branch information
MaksimZhukov committed Apr 27, 2020
commit 8b4ba3d70d66f5476dbade991f2e8ef8544d27e0
4 changes: 2 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2609,7 +2609,7 @@ function findReleaseFromManifest(semanticVersionSpec, architecture) {
});
}
exports.findReleaseFromManifest = findReleaseFromManifest;
function _installPython(workingDirectory) {
function installPython(workingDirectory) {
return __awaiter(this, void 0, void 0, function* () {
const options = {
cwd: workingDirectory,
Expand Down Expand Up @@ -2646,7 +2646,7 @@ function installCpythonFromRelease(release) {
pythonExtractedFolder = yield tc.extractTar(pythonPath, `./${fileName}`);
}
core.info('Execute installation script');
yield _installPython(pythonExtractedFolder);
yield installPython(pythonExtractedFolder);
});
}
exports.installCpythonFromRelease = installCpythonFromRelease;
Expand Down
4 changes: 2 additions & 2 deletions src/install-python.ts
429F
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export async function findReleaseFromManifest(
);
}

async function _installPython(workingDirectory: string) {
async function installPython(workingDirectory: string) {
const options: ExecOptions = {
cwd: workingDirectory,
silent: true,
Expand Down Expand Up @@ -64,5 +64,5 @@ export async function installCpythonFromRelease(release: tc.IToolRelease) {
}

core.info('Execute installation script');
await _installPython(pythonExtractedFolder);
await installPython(pythonExtractedFolder);
}
0