From b2d5cbf3509bc01559384a96d3030ae8b5649f30 Mon Sep 17 00:00:00 2001 From: "David M. Lloyd" Date: Thu, 16 Jul 2020 09:40:22 -0500 Subject: [PATCH] Update build.yml to support JDK 9/10 testing Due to the `smallrye-common-io` proposed changes (#36/#37) --- .github/workflows/build.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index df6011d9..4a53b01c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,13 +30,23 @@ jobs: with: java-version: 11 + - uses: actions/setup-java@v1.3.0 + name: set up JDK 10 + with: + java-version: 10 + + - uses: actions/setup-java@v1.3.0 + name: set up JDK 9 + with: + java-version: 9 + - uses: actions/setup-java@v1.3.0 name: set up JDK 8 with: java-version: 8 - name: build with maven - run: JAVA_HOME=$JAVA_HOME_11_X64 mvn -B formatter:validate verify --file pom.xml -Djava8.home=$JAVA_HOME_8_X64 + run: JAVA_HOME=$JAVA_HOME_11_X64 mvn -B formatter:validate verify --file pom.xml -Djava8.home=$JAVA_HOME_8_X64 -Djava9.home=$JAVA_HOME_9_X64 -Djava10.home=$JAVA_HOME_10_X64 quality: needs: [build]