In order to detect built-in JDK installations, the gradle-build-action adds the property org.gradle.java.installations.fromEnv=JAVA_HOME_8_X64,JAVA_HOME_11_X64,JAVA_HOME_17_X64 to ~/.gradle/gradle.properties.
However, if a project specifies org.gradle.java.installations.fromEnv=XXX in a project-level gradle.properties file, then this setting is overridden by the value set by the action in ~/.gradle/gradle.properties.
In order to detect built-in JDK installations, the
gradle-build-action
adds the propertyorg.gradle.java.installations.fromEnv=JAVA_HOME_8_X64,JAVA_HOME_11_X64,JAVA_HOME_17_X64
to~/.gradle/gradle.properties
.However, if a project specifies
org.gradle.java.installations.fromEnv=XXX
in a project-levelgradle.properties
file, then this setting is overridden by the value set by the action in~/.gradle/gradle.properties
.