From 7abcc92b46b49802458b75b4ea8c10b08bdeaf64 Mon Sep 17 00:00:00 2001 From: Niko Ehrenfeuchter Date: Fri, 22 Nov 2024 17:44:34 +0100 Subject: [PATCH] Use GITHUB_ENV --- .github/workflows/pytest-python2.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pytest-python2.yml b/.github/workflows/pytest-python2.yml index 59cccf0..bd0a9f5 100644 --- a/.github/workflows/pytest-python2.yml +++ b/.github/workflows/pytest-python2.yml @@ -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 @@ -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 }}