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 have enabled the codeql analysis on https://github.com/ZeeD/springbootplusdbunit
the project itself it's just a simple personal demo of integration. The pom is almost the same from https://start.spring.io/
unfortunately the autobuild step ended with error, and the cause is the title of the message.
I suspect the problem is just that it's not installed / used the latest jdk version, because I see Java version: 1.8.0_252, vendor: AdoptOpenJDK, runtime: /usr/lib/jvm/adoptopenjdk-8-hotspot-amd64/jre in the autobuild logs while java 14 is in GA.
It's possible to update the java version to the latest stable one?
Glad that got it working for you. I'm going to close this issue as the original point has been satisfied. I'll create an issue internally for the feature improvement of autogenerating a setup-java step if the repo has a pom file.
Activity
aibaars commentedon Jul 2, 2020
It looks like the default JDK version in an Actions VM is 8. For reference: https://github.com/actions/virtual-environments/blob/master/images/linux/scripts/installers/java-tools.sh#L26
I'd recommend using the
actions/setup-javaAction to select the Java version to use.ZeeD commentedon Jul 3, 2020
the
actions/setup-javaAction did the trick, thanks.maybe it would be useful to put
with
java-versioncommented out or autoinferred from the .pom properties in the automatically generated .yaml filerobertbrignull commentedon Jul 6, 2020
Glad that got it working for you. I'm going to close this issue as the original point has been satisfied. I'll create an issue internally for the feature improvement of autogenerating a
setup-javastep if the repo has a pom file.