Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(docker): Use Java 11 for the Docker build
With the upgrade of the GitHub action runners to ubuntu-24.04 in 1234567, the default Java version has changed to Java 17 (compare [1] and [2]). This breaks the build of the analyzer worker build using JDK 11, because the server code is now built with an incompatible class file version. Fix this by switching back to using JDK 11 in the Docker build workflow. This is only a temporary solution, as the next ORT release will only be available for Java 21 [3]. With this upgrade the JDK bootstrapping mechanism introduced in recent ORT releases has to be used, instead of building analyzer worker images with different JDKs. [1]: https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md#java [2]: https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md#java [3]: oss-review-toolkit/ort#9134 Signed-off-by: Martin Nonnenmacher <martin.nonnenmacher@bosch.com>
- Loading branch information