Skip to content

Commit acd7798

Browse files
Test on java 11 and 17
1 parent f8d3f20 commit acd7798

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/maven.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,20 @@ on:
1111

1212
jobs:
1313
build:
14-
15-
runs-on: ubuntu-latest
14+
name: Test with Java ${{ matrix.jdk }} ${{ matrix.os }}
15+
runs-on: ${{ matrix.os }}
16+
strategy:
17+
fail-fast: false
18+
matrix:
19+
jdk: ['8', '11', '17']
20+
os: [ubuntu-latest]
1621

1722
steps:
18-
- uses: actions/checkout@v3
19-
- name: Set up JDK 8
23+
- uses: actions/checkout@v4
24+
- name: Set up JDK ${{ matrix.jdk }}
2025
uses: actions/setup-java@v3
2126
with:
22-
java-version: '8'
27+
java-version: ${{ matrix.jdk }}
2328
distribution: 'temurin'
2429
cache: maven
2530
- name: Build with Maven

0 commit comments

Comments
 (0)