Skip to content

Commit

Permalink
Test project also on Java 21
Browse files Browse the repository at this point in the history
  • Loading branch information
liweinan committed Dec 5, 2023
1 parent 120650e commit 9c97be1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,17 @@ on:
jobs:
build:

runs-on: ubuntu-latest

runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest ]
java: [ '17', '21' ]
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
java-version: ${{ matrix.java }}
distribution: 'adopt'
- name: Build With Maven
run: mvn -B -fae install --file pom.xml

0 comments on commit 9c97be1

Please sign in to comment.