Skip to content

Commit

Permalink
Merge pull request #38 from smallrye/dmlloyd-update-ci-config
Browse files Browse the repository at this point in the history
Update build.yml to support JDK 9/10 testing
  • Loading branch information
dmlloyd authored Jul 16, 2020
2 parents 0b011ac + b2d5cbf commit 829946a
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 829946a

Please sign in to comment.