Skip to content

Commit

Permalink
Test on JDK 17 and 21
Browse files Browse the repository at this point in the history
  • Loading branch information
arteam authored May 15, 2024
1 parent fccce1d commit ed1d927
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,17 @@ on:

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
java: [ 17, 21 ]
name: Java ${{ matrix.java }}
steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v1
- uses: actions/checkout@v3
- name: Setup java
uses: actions/setup-java@v3
with:
java-version: 17
java-version: ${{ matrix.java }}
distribution: temurin
- name: Build with Maven
run: mvn -B package --file pom.xml

0 comments on commit ed1d927

Please sign in to comment.