actions / actions/cache

Cache restore seemingly ignoring `path` key

Open
#1,540 18 comments 5 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

With this config:

https://github.com/oro-os/toolchain/blob/000abfbb496a52f45e287072c968f42bdae73345/.github/workflows/build.yml#L24-L29

I'm seeing this output:

https://github.com/oro-os/toolchain/actions/runs/13199758383/job/36848893839#step:4:28

It seems that the tarball is being extracted in the root of the repository, regardless of what the path key states, causing 100% cache miss rates.

Am I missing something? Does this not support absolute/out-of-tree paths?

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 with .github/workflows/build.yml lines 24-29 and the linked Actions run log, comparing the configured path with the extraction location shown in the output. Reproduce the restore using an absolute or out-of-tree path and establish whether the path is supported or ignored; done when the behavior is fixed or the supported limitation is clearly resolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, typescript
Domain
ci-cd
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.