mirror of
https://github.com/actions/setup-python.git
synced 2025-04-19 19:33:29 +00:00
build new
This commit is contained in:
parent
60157fe074
commit
ebb31fa204
6
dist/setup/index.js
vendored
6
dist/setup/index.js
vendored
@ -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)) {
|
||||
|
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user