From ebb31fa204d8070149c697b5324881453c4f5ce7 Mon Sep 17 00:00:00 2001 From: Evgenii Korolevskii Date: Fri, 31 Mar 2023 00:02:34 +0200 Subject: [PATCH] build new --- dist/setup/index.js | 6 +++--- src/setup-python.ts | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dist/setup/index.js b/dist/setup/index.js index ba7b4354..5055489f 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -66995,9 +66995,9 @@ function run() { let pythonVersion = ''; const arch = core.getInput('architecture') || os.arch(); const updateEnvironment = core.getBooleanInput('update-environment'); - // const pythonBinPath = `${process.env.HOME}/.local/bin`; - // core.info(`Adding ${pythonBinPath} to PATH`) - // core.exportVariable('PATH', `${pythonBinPath}:${process.env.PATH}`); + const pythonBinPath = `${process.env.HOME}/.local/bin`; + core.debug(`Adding ${pythonBinPath} to PATH`); + core.exportVariable('PATH', `${pythonBinPath}:${process.env.PATH}`); core.startGroup('Installed versions'); for (const version of versions) { if (isPyPyVersion(version)) { diff --git a/src/setup-python.ts b/src/setup-python.ts index 4c6542c0..f37245c0 100644 --- a/src/setup-python.ts +++ b/src/setup-python.ts @@ -83,9 +83,9 @@ async function run() { let pythonVersion = ''; const arch: string = core.getInput('architecture') || os.arch(); const updateEnvironment = core.getBooleanInput('update-environment'); - // const pythonBinPath = `${process.env.HOME}/.local/bin`; - // core.info(`Adding ${pythonBinPath} to PATH`) - // core.exportVariable('PATH', `${pythonBinPath}:${process.env.PATH}`); + const pythonBinPath = `${process.env.HOME}/.local/bin`; + core.debug(`Adding ${pythonBinPath} to PATH`) + core.exportVariable('PATH', `${pythonBinPath}:${process.env.PATH}`); core.startGroup('Installed versions'); for (const version of versions) { if (isPyPyVersion(version)) {