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'd like to add here that it would be awesome if the content of that file is used by default if present. Basically making the java-version optional. This would lead to zero configuration. 🤩
Activity
Fleshgrinder commentedon Aug 27, 2021
I'd like to add here that it would be awesome if the content of that file is used by default if present. Basically making the
java-versionoptional. This would lead to zero configuration. 🤩Fleshgrinder commentedon Jan 21, 2022
I found a way to add support for
.java-versionfiles that can act as an escape hatch for everyone who wants this functionality today:This can of course be simplified if you use it in a repository where the
.java-versionfile is always guaranteed to exist:Fleshgrinder commentedon Oct 7, 2022
I got tired and created a wrapping action: https://github.com/Fleshgrinder/setup-java
dmitry-shibanov commentedon Feb 8, 2023
Hello everyone. Sorry for the late response. We released a version of setup-java to pass a
.java-versionfile through thejava-version-fileinput .IvanZosimov commentedon Mar 21, 2023
I'm closing this feature request as completed. Related release: https://github.com/actions/setup-java/releases/tag/v3.9.0