From 60157fe0740d7fcf508822f9aaced544b84e1a17 Mon Sep 17 00:00:00 2001 From: Evgenii Korolevskii Date: Thu, 30 Mar 2023 23:35:04 +0200 Subject: [PATCH] wrong version --- 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 b24d071a..ba7b4354 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.info(`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 9fbfe50e..4c6542c0 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.info(`Adding ${pythonBinPath} to PATH`) + // core.exportVariable('PATH', `${pythonBinPath}:${process.env.PATH}`); core.startGroup('Installed versions'); for (const version of versions) { if (isPyPyVersion(version)) {