From: Wouter Born Date: Thu, 24 Feb 2022 09:55:20 +0000 (+0100) Subject: Add Java 17 to GHA CI build matrix (#12360) X-Git-Url: https://git.basschouten.com/?a=commitdiff_plain;h=e84e2800a46b3de98d59777383e6b634cb896af5;p=openhab-addons.git Add Java 17 to GHA CI build matrix (#12360) This adds Java 17 to the GitHub Actions CI build matrix so we can make sure the build keeps working with both Java 11 and Java 17. It also updates the required Java version range used by the enforcer plugin so it is also possible to build with the supported Java versions. Signed-off-by: Wouter Born --- diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 24c0cc756f..17f0dc0d88 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -17,7 +17,7 @@ jobs: build: strategy: matrix: - java: [ '11' ] + java: [ '11', '17' ] maven: [ '3.8.4'] os: [ 'ubuntu-20.04' ] name: Build (Java ${{ matrix.java }}, ${{ matrix.os }}) diff --git a/pom.xml b/pom.xml index 299cf0cd22..129126d5bd 100644 --- a/pom.xml +++ b/pom.xml @@ -680,7 +680,7 @@ Import-Package: \\ - [11.0,12.0) + [11.0,18.0)