Skip to content

Commit

Permalink
Update CI to build on 21 and test on 11, 17, and 21
Browse files Browse the repository at this point in the history
  • Loading branch information
dmlloyd committed Nov 8, 2023
1 parent 824db3c commit e4f1247
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,20 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
java: ['11', '17']

steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java }}
- name: Set up JDKs
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
cache: 'maven'
- name: Build and Test with Java ${{ matrix.java }}
run: mvn -B clean verify
java-version: |
11
17
21
- name: Build and Test
run: mvn -B clean verify "-Djava11.home=${{env.JAVA_HOME_11_X86}}" "-Djava17.home=${{env.JAVA_HOME_17_X86}}"

format-check:
runs-on: ubuntu-latest
Expand Down

0 comments on commit e4f1247

Please sign in to comment.