actions / actions/cache

cache is not used for a tag

Open
#1,660 0 comments 0 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 have a pretty simple setup: https://github.com/OlegYch/potplayer-gemini/blob/scala-native/.github/workflows/release.yml#L43

      - name: Cache project
        uses: actions/cache@v4
        with:
          path: ./
          key: ${{ runner.os }}-project-${{ github.run_number }}
          restore-keys: ${{ runner.os }}-project-

i have just run a build which produced a cache:
https://github.com/OlegYch/potplayer-gemini/actions/runs/18432094942/job/52520727174

Image

however a subsequent build can't find the cache:
https://github.com/OlegYch/potplayer-gemini/actions/runs/18435401212

Image

even though a matching cache is here:

Image

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/release.yml at line 43, then compare the cache steps and logs from the two linked workflow runs. Verify whether the subsequent build is using the same cache key and restore context. Done means identifying the cause of the missed cache and documenting or fixing the relevant workflow or action behavior.

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
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.