hygieia / api

Hygieia api layer (pre Spring 5)
https://github.com/Hygieia/api
Apache License 2.0
19 stars 180 forks source link

Update GitHub workflow to use JDK 11 and ubuntu-latest #317

Open dylanrichards opened 1 year ago

dylanrichards commented 1 year ago

Use JDK 11 for Maven Snapshot Release Workflow.

The workflow currently produces the following error. Error: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project api: Fatal error compiling: invalid target release: 11 -> [Help 1]

Upgrade deprecated GitHub Actions runner to ubuntu-latest. "Deprecation will begin on 2022/08/08 and the image will be fully unsupported by 2023/04/01" The ubuntu-18.04 environment is deprecated, consider switching to ubuntu-20.04(ubuntu-latest), or ubuntu-22.04 instead. For more details see https://github.com/actions/runner-images/issues/6002