.github: set specific version of pyenv so pyenv upstream doesn't break our CI

This commit is contained in:
bugobliterator 2021-08-20 12:46:16 +05:30 committed by Peter Barker
parent 6381297215
commit f790a66781

View File

@ -109,6 +109,10 @@ if maybe_prompt_user "Install python using pyenv [N/y]?" ; then
echo "Installing pyenv"
curl https://pyenv.run | bash
pushd $HOME/.pyenv
git fetch --tags
git checkout v2.0.4
popd
exportline="export PYENV_ROOT=\$HOME/.pyenv"
echo $exportline >> ~/$SHELL_LOGIN
exportline="export PATH=\$PYENV_ROOT/bin:\$PATH"