mirror of
https://github.com/actions/setup-python.git
synced 2025-04-24 07:22:14 +00:00
add path
This commit is contained in:
parent
dfa76f8d0d
commit
f8f6af6a16
1 changed files with 2 additions and 0 deletions
|
@ -83,6 +83,8 @@ 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`;
|
||||||
|
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