-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Add check action
#1095
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
Add check action
#1095
Conversation
|
@cdce8p, I'll review this shortly and also discuss with my team regarding this PR and your comment on the other one. This might take some time, but thanks for your contribution again! 😃 |
|
Sorry for the delay, I'll review the PR today. @cdce8p |
Awesome, thanks! Just updated all PRs to include the zstd fix. |
|
Now that #1041 has been merged, I'm going to close this one. Please feel free to reuse any of it in case something like this should be added in the future. |
Description
Alternative or in addition to #1041 as suggested by @kotewar in #1041 (comment).
Add a dedicated action to check if a cache entry exists without actually downloading it.
Motivation and Context
Fixes #901
Fixes #831
#1020 (comment)
#1020 (comment)
If dependency install / cache setup and the actual tests are split across multiple jobs, it's often unnecessary to restore the cache if an exact cache-hit occurred. Similarly, if the cache is created from scratch, it's only necessary to know if a cache entry already exists.
Using
dry-runin these cases saves time and resources, especially for larger caches which don't need to be restored.How Has This Been Tested?
Added test case and run a test workflow using the feature branch.
Screenshots (if appropriate):
--
Types of changes
Checklist: