cache icon indicating copy to clipboard operation
cache copied to clipboard

Cache not found for input keys

Open wakaztahir opened this issue 4 months ago • 3 comments

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

wakaztahir avatar Aug 25 '25 09:08 wakaztahir

Cache didn't restore only on windows but succeeded on linux, Only happens when the save was present in a job that failed (even after using cache/save)

wakaztahir avatar Aug 25 '25 09:08 wakaztahir

Here's another workflow, where this bug persists, https://github.com/chemicallang/chemical/actions/runs/17891500712/job/50872534767

The windows workflow doesn't restore the cache (even though the cache exists, I can see it) The linux version does restore the cache and works.

wakaztahir avatar Sep 21 '25 08:09 wakaztahir

Please fix this bug, it wastes so much time, here's another workflow

https://github.com/chemicallang/chemical/actions/runs/17891566733/job/50872858121

wakaztahir avatar Sep 21 '25 09:09 wakaztahir