We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8efe5e commit 1449faeCopy full SHA for 1449fae
.github/workflows/test-and-publish.yaml
@@ -183,11 +183,12 @@ jobs:
183
if: ${{ runner.os == 'Linux' }}
184
run: |
185
# Use pyenv to install Python version that is not available via `actions/setup-python`
186
+ unset PYENV_ROOT
187
curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash
188
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc
189
echo '[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc
190
echo 'eval "$(pyenv init - bash)"' >> ~/.bashrc
- source ~/.bashrc
191
+ export PATH="$HOME/.pyenv/bin:$PATH"
192
pyenv install $PYTHON_VERSION
193
pyenv global $PYTHON_VERSION
194
env:
0 commit comments