Skip to content

Commit 4f27d4a

Browse files
committed
Also build on JDK 11, 17, and 21 LTS versions in CI
1 parent 07f7515 commit 4f27d4a

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,19 @@ name: CI
22
on: [push, pull_request]
33
jobs:
44
build:
5-
runs-on: macOS-latest
5+
name: Build
6+
strategy:
7+
fail-fast: false
8+
matrix:
9+
jdk: [ 8, 11, 17, 21 ]
10+
runs-on: macos-latest
611
steps:
712
- uses: actions/checkout@v4
8-
- name: Set up JDK 8
13+
- name: Set up JDK ${{ matrix.jdk }}
914
uses: actions/setup-java@v4
1015
with:
11-
java-version: '8'
12-
distribution: 'liberica'
13-
cache: 'maven'
16+
java-version: ${{ matrix.jdk }}
17+
distribution: liberica
18+
cache: maven
1419
- name: Build with Maven
1520
run: mvn -V -B package

0 commit comments

Comments
 (0)