Skip to content

Commit 1cddeb2

Browse files
author
Tyler Coles
committed
Build and test matrix for all major java versions.
1 parent 763c153 commit 1cddeb2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,17 @@ on:
99

1010
jobs:
1111
build:
12+
strategy:
13+
matrix:
14+
java: ['8', '11', '16', '17', '18']
1215
runs-on: ubuntu-latest
1316
steps:
1417
- name: Checkout code
1518
uses: actions/checkout@v3
1619
- name: Setup JDK
1720
uses: actions/setup-java@v3
1821
with:
19-
java-version: '8'
22+
java-version: ${{ matrix.java }}
2023
distribution: 'temurin'
2124
cache: maven
2225
- name: Build with Maven

0 commit comments

Comments
 (0)