actions / actions/cache

Warning message does tell me which cache does not exist

Open
#1,318 2 comments 10 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
5.6k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

I am getting a warning:

Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.

I am using several caches, I know most of them work, but it is not clear to me which cache is not valid.

Request: Mention the cache key in the warning message so I know where to look!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Search the repository for the exact warning text about cache paths that do not exist, then inspect the surrounding entry point and its tests. Update the warning so it identifies the relevant cache key, and confirm that the test coverage verifies the new message for multiple caches.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
ci-cd
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.