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

Docs: clarify usage of actions/setup-java with this action #725

Closed
JoshMcCullough opened this issue May 27, 2023 · 2 comments
Closed

Docs: clarify usage of actions/setup-java with this action #725

JoshMcCullough opened this issue May 27, 2023 · 2 comments
Assignees
Labels
documentation Improvements or additions to documentation
Milestone

Comments

@JoshMcCullough
Copy link

From the docs:

When using gradle-build-action we recommend that you not use actions/cache or actions/setup-java@v3 to explicitly cache the Gradle User Home. Doing so may interfere with the caching provided by this action.

I believe you are saying to just not enable the caching feature of actions/setup-java, but surely we can still use that action to install a specific JDK. Is that correct? If so, I can provide a PR to adjust the docs.

@bigdaz
Copy link
Member

bigdaz commented May 29, 2023

Yes, you can still use actions/setup-java: what's not recommended is using the cache: gradle option with setup-java like this.

I'll try to get the docs updated before the next release. A PR would be appreciated :).

@bigdaz bigdaz added the documentation Improvements or additions to documentation label Jun 28, 2023
@ankushg
Copy link

ankushg commented Jul 27, 2023

I believe this is also relevant: #561

@bigdaz bigdaz self-assigned this Aug 15, 2023
@bigdaz bigdaz added this to the 2.7.1 milestone Aug 15, 2023
@bigdaz bigdaz closed this as completed in f9b4995 Aug 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants