Closed helpermethod closed 1 year ago
Hi @helpermethod,
Yes, you are theoretically right and that's why the action now supports the full Java version for the new GraalVM release, similar to the setup-java
action. Being able to only specify the major Java version is mostly for convenience and for users that just want to test with the latest release of a certain Java version. If you are concerned about this, I'd recommend you use the full Java version, which BTW is also what the templates are recommending (at least at the moment, we could change that).
Hi @fniephaus!
I've somehow missed that you could specify the full Java version! Great work!
No problem at all and thanks! The alignment with OpenJDK should only simplify things for users. 🙂
While it's nice to just specify the Java version and be done with it, I wonder if this doesn't more harm than good. When I needed to specifiy both
java
andgraal-version
, new releases wouldn't break the build. But with the new version schema, theoretically a new Java X compatible release could break my build, right?