mirror of
https://github.com/actions/setup-python.git
synced 2025-04-24 15:32:13 +00:00
build new
This commit is contained in:
parent
60157fe074
commit
ebb31fa204
2 changed files with 6 additions and 6 deletions
6
dist/setup/index.js
vendored
6
dist/setup/index.js
vendored
|
@ -66995,9 +66995,9 @@ function run() {
|
||||||
let pythonVersion = '';
|
let pythonVersion = '';
|
||||||
const arch = core.getInput('architecture') || os.arch();
|
const arch = core.getInput('architecture') || os.arch();
|
||||||
const updateEnvironment = core.getBooleanInput('update-environment');
|
const updateEnvironment = core.getBooleanInput('update-environment');
|
||||||
// const pythonBinPath = `${process.env.HOME}/.local/bin`;
|
const pythonBinPath = `${process.env.HOME}/.local/bin`;
|
||||||
// core.info(`Adding ${pythonBinPath} to PATH`)
|
core.debug(`Adding ${pythonBinPath} to PATH`);
|
||||||
// core.exportVariable('PATH', `${pythonBinPath}:${process.env.PATH}`);
|
core.exportVariable('PATH', `${pythonBinPath}:${process.env.PATH}`);
|
||||||
core.startGroup('Installed versions');
|
core.startGroup('Installed versions');
|
||||||
for (const version of versions) {
|
for (const version of versions) {
|
||||||
if (isPyPyVersion(version)) {
|
if (isPyPyVersion(version)) {
|
||||||
|
|
|
@ -83,9 +83,9 @@ async function run() {
|
||||||
let pythonVersion = '';
|
let pythonVersion = '';
|
||||||
const arch: string = core.getInput('architecture') || os.arch();
|
const arch: string = core.getInput('architecture') || os.arch();
|
||||||
const updateEnvironment = core.getBooleanInput('update-environment');
|
const updateEnvironment = core.getBooleanInput('update-environment');
|
||||||
// const pythonBinPath = `${process.env.HOME}/.local/bin`;
|
const pythonBinPath = `${process.env.HOME}/.local/bin`;
|
||||||
// core.info(`Adding ${pythonBinPath} to PATH`)
|
core.debug(`Adding ${pythonBinPath} to PATH`)
|
||||||
// core.exportVariable('PATH', `${pythonBinPath}:${process.env.PATH}`);
|
core.exportVariable('PATH', `${pythonBinPath}:${process.env.PATH}`);
|
||||||
core.startGroup('Installed versions');
|
core.startGroup('Installed versions');
|
||||||
for (const version of versions) {
|
for (const version of versions) {
|
||||||
if (isPyPyVersion(version)) {
|
if (isPyPyVersion(version)) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue