Skip to content

Cache folder path doesn't exist on disk #1169

@Bryan-Meier

Description

@Bryan-Meier

Description:
Something has changed in the last 2 weeks that is now causing the below error in the Post Setup Python action. For us, this is part of a deployment Github workflow and was working on the last deployment we did which was 2 weeks ago. And now is an issue on every deployment.

Error:
Cache folder path is retrieved for pip but doesn't exist on disk: /home/runner/.cache/pip. This likely indicates that there are no dependencies to cache. Consider removing the cache step if it is not needed.

Action version:
v5

Platform:

  • [ X ] Ubuntu
  • macOS
  • Windows

Runner type:

  • [ X ] Hosted
  • Self-hosted

Tools version:
Python 3.11.17

Repro steps:
Run

Expected behavior:
No Post Setup Python error

Actual behavior:
Throwing this error:

Cache folder path is retrieved for pip but doesn't exist on disk: /home/runner/.cache/pip. This likely indicates that there are no dependencies to cache. Consider removing the cache step if it is not needed.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions