-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update build.yml to support JDK 9/10 testing
- Loading branch information
Showing
1 changed file
with
11 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,13 +30,23 @@ jobs: | |
with: | ||
java-version: 11 | ||
|
||
- uses: actions/[email protected] | ||
name: set up JDK 10 | ||
with: | ||
java-version: 10 | ||
|
||
- uses: actions/[email protected] | ||
name: set up JDK 9 | ||
with: | ||
java-version: 9 | ||
|
||
- uses: actions/[email protected] | ||
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] | ||
|