actions / actions/cache

Cache not found for input keys

Open
#1,645 3 comments 1 reaction 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

The Job where it didn't restore: (expected to restore the cache)
https://github.com/chemicallang/chemical/actions/runs/17202376846/job/48795429885

As you can see in the above job, The Linux job succeeded (restoring the cache), However Windows job didn't.

Cache save action:
https://github.com/chemicallang/chemical/actions/runs/17191183745

Workflow:
https://github.com/chemicallang/chemical/actions/workflows/build-and-release.yml

Both jobs (on windows and linux) failed, But they both saved the cache (Cache saved with key: Windows-05d946c14558c16956da40840c56f1c523cfaef7)

However Windows one didn't get restored, It seems like Windows cache is not being restored because the job failed (even though I used actions/save to save before the job failed), However linux cache works as expected and restores

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

Start by comparing the Windows and Linux jobs in the linked build-and-release.yml workflow and the referenced Actions runs. Check the cache save and restore behavior for the failing Windows job, then document a reproducible cause and correction; done means the Windows cache restores as expected after a failed job.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions
Domain
ci-cd
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.