Skip to content

Commit 8d04be4

Browse files
committed
try matrix java builds
1 parent c88d109 commit 8d04be4

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,15 @@ jobs:
1313
build:
1414

1515
runs-on: ubuntu-latest
16+
strategy:
17+
matrix:
18+
java: [8, 11]
1619

1720
steps:
18-
- uses: actions/checkout@v2
19-
- name: Set up JDK 1.8
20-
uses: actions/setup-java@v1
21-
with:
22-
java-version: 1.8
23-
- name: Build with Maven
24-
run: mvn -B package -P no-integration-tests --file pom.xml
21+
- uses: actions/checkout@v2
22+
- name: Set up JDK
23+
uses: actions/setup-java@v1
24+
with:
25+
java-version: ${{ matrix.java }}
26+
- name: Build with Maven
27+
run: mvn -B package -P no-integration-tests --file pom.xml

0 commit comments

Comments
 (0)