Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache Not Found while cache key are the same #119

Closed
linonetwo opened this issue Feb 16, 2023 · 4 comments · Fixed by #136
Closed

Cache Not Found while cache key are the same #119

linonetwo opened this issue Feb 16, 2023 · 4 comments · Fixed by #136

Comments

@linonetwo
Copy link

linonetwo commented Feb 16, 2023

截屏2023-02-16 13 38 29

save in https://github.com/toeverything/AFFiNE/actions/runs/4190695664/jobs/7264363757

截屏2023-02-16 13 39 05

load in https://github.com/toeverything/AFFiNE/actions/runs/4191029560/jobs/7265049867

Folder  structure is 

And the script is https://github.com/toeverything/AFFiNE/blob/520076b31df9253f12e8271a34ef8cf50f11164a/.github/workflows/client-app.yml#L98-L103

      - name: Get rust cache
        uses: Swatinem/rust-cache@v2
        id: rust-cache
        with:
          workspaces: |
            apps/desktop/src-tauri
@Swatinem
Copy link
Owner

Everything looks correct, maybe it is a namespacing issue enforced by github itself, hard to tell

@bazhenov
Copy link

I have the same issue. The id of artifacts is the same, but every time new cache is created instead of using already existing one.

@krissss
Copy link

krissss commented Apr 19, 2023

maybe because actions/toolkit#1376 (comment)

@stevenh
Copy link
Contributor

stevenh commented May 9, 2023

Also seeing this here

stevenh added a commit to stevenh/rust-cache that referenced this issue May 10, 2023
Fix cache restore failures to to upstream bug.

Fixes Swatinem#119
Swatinem pushed a commit that referenced this issue May 11, 2023
Fix cache restore failures to to upstream bug.

Fixes #119
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants