Description:
When upgrading from setup-python@v3 to setup-python@v4, other jobs fail because env.pythonLocation is no longer being set.
Action version:
v4
Platform:
Runner type:
Tools version:
all?
Repro steps:
Here is the PR. Here is the failed build.
Expected behavior:
python location to be available.
Actual behavior:
It appears to be empty.
Here is the code that now fails with v4.
- name: Set up Python
uses: actions/setup-python@v4
- name: Python Cache
uses: actions/cache@v3
with:
path: ${{ env.pythonLocation }}
key: ${{ env.pythonLocation }}-${{ hashFiles('tests/requirements.txt') }}
Description:
When upgrading from
setup-python@v3tosetup-python@v4, other jobs fail becauseenv.pythonLocationis no longer being set.Action version:
v4
Platform:
Runner type:
Tools version:
all?
Repro steps:
Here is the PR. Here is the failed build.
Expected behavior:
python location to be available.
Actual behavior:
It appears to be empty.
Here is the code that now fails with
v4.