try fix pyenv path

This commit is contained in:
Alex Zorin 2023-07-01 12:29:39 +10:00
parent fe476e00f9
commit e781bcc41a

View file

@ -27,6 +27,8 @@ steps:
- bash: |
set -e
curl https://pyenv.run | bash
export PYENV_ROOT="$HOME/.pyenv"
command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
pyenv install ${PYTHON_VERSION}
pyenv shell ${PYTHON_VERSION}