-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Fix disabling cache in the setup action #16086
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
Conversation
|
@MiguelWeezardo PTAL again, I added a second commit to avoid downloading all dependencies in the |
|
I think we now have 2 flags where we should have 1. Is there ever a case where we want to download dependencies while avoiding the cache, or use the cache without pulling missing dependencies? We should treat caching as a hidden optimization, the action user should just choose if he wants to have dependencies or not when the action finishes. |
I agree, but it's not clear from your comment which flag should remain. |
I think |
|
@ebyhr can you take a look too? |
|
@kokosing or maybe you can help with this one? It'll shave off 2–3 minutes from every product test job, so it's worth getting in sooner than later. |
|
Merged, thanks! |
Description
Cache should not be restored in the
ptjob, since it doesn't build anything with Maven, and it makes it unnecessary longer by 2–3 minutes. The issue is caused by a boolean input actually being a string: actions/runner#1483Additional context and related issues
Release notes
(x) This is not user-visible or docs only and no release notes are required.
( ) Release notes are required, please propose a release note for me.
( ) Release notes are required, with the following suggested text: