You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use oracle-actions/setup-java to fetch Java EA (e.g. Java 22). I do not want Java 22 to be set as default since it would fail the build (e.g. Gradle does not yet support running with Java 22).
I need Java 22 for tests only, so I want Java 22 to be present, however, I would like to keep JAVA_HOME untouched.
Are you willing to submit a PR?
Maybe
The text was updated successfully, but these errors were encountered:
Description:
Currently,
setup-java
configures the installed Java as default, however, there are cases when no change inJAVA_HOME
is needed.I suggest adding
configure-as-default
boolean input field (defaulttrue
) so users could opt-out of configuring the installed Java for the default one.Justification:
https://github.com/oracle-actions/setup-java downloads java binary, and it then calls
actions/setup-java
to set it up.I use
oracle-actions/setup-java
to fetch Java EA (e.g. Java 22). I do not want Java 22 to be set as default since it would fail the build (e.g. Gradle does not yet support running with Java 22).I need Java 22 for tests only, so I want Java 22 to be present, however, I would like to keep
JAVA_HOME
untouched.Are you willing to submit a PR?
Maybe
The text was updated successfully, but these errors were encountered: