-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Partial match even when only using key
#1145
Comments
This issue is stale because it has been open for 200 days with no activity. Leave a comment to avoid closing this issue in 5 days. |
This is still relevant. |
I'm also seeing this issue with v4. |
I encountered this today as well in my Github Action workflow. Caching step:
Logs for the caching step. Looks like it picked up a cache from a key match.
Then in a downstream setup step:
Logs for this setup step. It didn't obey the
|
This looks to be the same issue as was later reported in: This comment seems particularly relevant:
|
I've been using something as simple as:
But for some reason, if the cache doesn't exist, it actually matches on a different key, in this case I've named another cache
rustfmt
:It seems to me that the documentation is pretty clear that
key
is used for exact matches andrestore-keys
for partial matches. Furthermoresteps.restore.outputs.cache-hit
is actually set totrue
.Is this a bug, or did I misunderstand the documentation?
The text was updated successfully, but these errors were encountered: