Description:
The latest release makes the Post Run actions/setup-python fail systematically with the error message :
Post job cleanup.
Error: Cache folder path is retrieved for pip but doesn't exist on disk: /home/runner/.cache/pip
We use the following configuration in our workflows:
- name: Setup Python 3.11
uses: actions/setup-python@v5
with:
python-version: 3.11
architecture: x64
cache: "pip"
Forcing the use of previous version actions/setup-python@v5.1.1 solves the issue.
Action version:
5.2.0
Platform:
Runner type:
Tools version:
Python 3.11
Repro steps:
Executing any action with the following step:
- name: Setup Python 3.11
uses: actions/setup-python@v5
with:
python-version: 3.11
architecture: x64
cache: "pip"
Expected behavior:
The post run succeeds
Actual behavior:
The post run fails:

Description:
The latest release makes the
Post Run actions/setup-pythonfail systematically with the error message :We use the following configuration in our workflows:
Forcing the use of previous version
actions/setup-python@v5.1.1solves the issue.Action version:
5.2.0
Platform:
Runner type:
Tools version:
Python 3.11
Repro steps:
Executing any action with the following step:
Expected behavior:
The post run succeeds
Actual behavior:

The post run fails: