-
Notifications
You must be signed in to change notification settings - Fork 59.8k
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
More sophisticated example for hashFiles
function
#32305
Comments
@hamirmahal Thank you for raising this issue! I'll get this triaged for review ✨ Our team will provide feedback regarding the best next steps for this issue - thanks for your patience! 💛 |
@nguyenalex836 You're welcome! |
Thanks for opening an issue! We've triaged this issue for technical review by a subject matter expert 👀 |
@hamirmahal Thank you for your patience while our team reviewed! ✨ Our engineering believes adding these additional, more complex examples makes sense. Some experimentation may be necessary to figure out what patterns actually work and what scenarios GitHub supports 💛 Aside from the scenario you listed initially, do you have a list of more sophisticated scenarios you were looking to add? |
@nguyenalex836 You're welcome! |
I can't think of any more sophisticated scenarios at the moment, but I'll post them if I think of any. |
@hamirmahal Sounds like a plan ✨ For now, I'm adding our |
@nguyenalex836 I don't think I know enough about the Is anyone from the team able to contribute them? |
@hamirmahal Apologies! Our overzealous bot closed this issue - I've just reopened so that a community member can pick this issue up 💛 |
Code of Conduct
What article on docs.github.com is affected?
https://docs.github.com/en/actions/learn-github-actions/expressions#hashfiles
What part(s) of the article would you like to see updated?
I think it'd be beneficial if the
hashFiles
function showed slightly more sophisticated examples.For example, what if I want to invalidate the cache any time
.rs
files at the top level of thesrc/
directory change?I.e., I'd like to invalidate the cache if
src/main.rs
orsrc/constants.rs
change, but not if anything insrc/misc/
changes.Additional information
No response
The text was updated successfully, but these errors were encountered: