With a little extra programming in JSON (wince) we can have the JDK version updated to latest as well. First, migrate the existing build JDK version in your GitHub Action to a .github/.java-version file . 'workarounds:javaLTSVersions' , ] , customManagers : [ // Update .java-version file with the latest JDK version.