-
Notifications
You must be signed in to change notification settings - Fork 655
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
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:
- Ubuntu
- macOS
- Windows
Runner type:
- Hosted
- Self-hosted
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') }}
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working