-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
4 additions
and
14 deletions.
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 |
---|---|---|
|
@@ -21,27 +21,17 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
java: [ '11', '17', '21' ] | ||
java: [ '17', '21' ] | ||
steps: | ||
- uses: actions/[email protected] | ||
- name: Set up JDK ${{ matrix.java }} | ||
uses: actions/[email protected] | ||
with: | ||
distribution: 'temurin' | ||
java-version: ${{ matrix.java }} | ||
- if: ${{ matrix.java != '11' }} | ||
name: "Maven install > 11" | ||
- name: "Maven install" | ||
run: | | ||
mvn -Pstaging install -DskipTests=true -Dno-format -B -V | ||
- if: ${{ matrix.java == '11' }} | ||
name: "Maven install 11" | ||
- name: "Maven test" | ||
run: | | ||
mvn -Pstaging -pl '!el' install -DskipTests=true -Dno-format -B -V | ||
- if: ${{ matrix.java != '11' }} | ||
name: "Maven test > 11" | ||
run: | | ||
mvn -Pstaging test -B | ||
- if: ${{ matrix.java == '11' }} | ||
name: "Maven test 11" | ||
run: | | ||
mvn -Pstaging -pl '!el' test -B | ||
mvn -Pstaging test -B |