Skip to content

Commit

Permalink
Use GITHUB_ENV
Browse files Browse the repository at this point in the history
  • Loading branch information
ehrenfeu committed Nov 22, 2024
1 parent 05439e0 commit 7abcc92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pytest-python2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
id: pyenvroot
run: |
cat /opt/hostedtoolcache/pyenv_root/.pyenv_root
echo "PYENV_ROOT=$(cat /opt/hostedtoolcache/pyenv_root/.pyenv_root)" >> $GITHUB_OUTPUT
echo "PYENV_ROOT=$(cat /opt/hostedtoolcache/pyenv_root/.pyenv_root)" >> $GITHUB_ENV
- name: Cache Python2 virtualenv
id: cache-py2-venv
Expand All @@ -67,6 +67,6 @@ jobs:
run: scripts/py2-pytest.sh
env:
VENV_PATH: venv.py2
PYENV_ROOT: ${{ steps.pyenvroot.outputs.PYENV_ROOT }}
# PYENV_ROOT: ${{ steps.pyenvroot.outputs.PYENV_ROOT }}
PY_VERSION: ${{ env.PY_VERSION }}

0 comments on commit 7abcc92

Please sign in to comment.