Skip to content

Commit 5cb7e16

Browse files
committed
Let CI run with JDK 11 and 17.
1 parent 3cb1cb3 commit 5cb7e16

File tree

1 file changed

+15
-13
lines changed

1 file changed

+15
-13
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- master
7+
- main
78
pull_request:
89

910
jobs:
@@ -12,20 +13,21 @@ jobs:
1213
strategy:
1314
matrix:
1415
platform: [ubuntu-latest, macos-latest, windows-latest]
16+
jdk: [11, 17]
1517

1618
runs-on: ${{ matrix.platform }}
17-
name: on ${{ matrix.platform }}
19+
name: on ${{ matrix.platform }} with JDK ${{ matrix.jdk }}
1820

1921
steps:
20-
- uses: actions/checkout@v3
21-
- name: Set up JDK 11
22-
uses: actions/setup-java@v3
23-
with:
24-
distribution: 'temurin'
25-
java-version: '11'
26-
check-latest: true
27-
cache: 'maven'
28-
- name: Build with Maven
29-
env:
30-
BROWSER: chrome-container
31-
run: mvn -V -ntp clean verify --file pom.xml '-Djenkins.test.timeout=5000' '-Dgpg.skip'
22+
- uses: actions/checkout@v3
23+
- name: Set up JDK ${{ matrix.jdk }}
24+
uses: actions/setup-java@v3
25+
with:
26+
distribution: 'temurin'
27+
java-version: '${{ matrix.jdk }}'
28+
check-latest: true
29+
cache: 'maven'
30+
- name: Build with Maven
31+
env:
32+
BROWSER: chrome-container
33+
run: mvn -V -ntp clean verify --file pom.xml '-Djenkins.test.timeout=5000' '-Dgpg.skip'

0 commit comments

Comments
 (0)