Skip to content

Commit 7992347

Browse files
Run CI against all supported Java versions
1 parent 85964d0 commit 7992347

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,18 @@ on:
1717
jobs:
1818
build:
1919
runs-on: ubuntu-latest
20+
strategy:
21+
fail-fast: false
22+
matrix:
23+
jdk: [8, 11, 17]
24+
env:
25+
JDK_VERSION: ${{ matrix.jdk }}
2026
steps:
2127
- uses: actions/checkout@v3
2228
- name: Set up JDK 11
2329
uses: actions/setup-java@v3
2430
with:
25-
java-version: '11'
31+
java-version: ${{ matrix.jdk }}
2632
distribution: 'temurin'
2733
cache: maven
2834
- name: Build with Maven

0 commit comments

Comments
 (0)