echo "$PYENV_ROOT/shims:$PYENV_ROOT/bin" >> $GITHUB_PATH

This commit is contained in:
Christian Clauss 2021-03-02 12:42:17 +01:00 committed by GitHub
parent 66ba35817b
commit 9e4ead1f93
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,11 +20,11 @@ jobs:
xz-utils tk-dev libffi-dev liblzma-dev python-openssl git xz-utils tk-dev libffi-dev liblzma-dev python-openssl git
# https://github.com/pyenv/pyenv#installation # https://github.com/pyenv/pyenv#installation
- run: pwd - run: pwd
#- env: - env:
# PYENV_ROOT: /home/runner/work/pyenv/pyenv PYENV_ROOT: /home/runner/work/pyenv/pyenv
# run: | run: |
# echo $PYENV_ROOT echo $PYENV_ROOT
- run: PYENV_ROOT=$(pwd) echo "$PYENV_ROOT/shims:$PYENV_ROOT/bin" >> $GITHUB_PATH echo "$PYENV_ROOT/shims:$PYENV_ROOT/bin" >> $GITHUB_PATH
- run: bin/pyenv install ${{ matrix.python-version }} - run: bin/pyenv install ${{ matrix.python-version }}
- run: bin/pyenv global ${{ matrix.python-version }} - run: bin/pyenv global ${{ matrix.python-version }}
- run: bin/pyenv rehash - run: bin/pyenv rehash