Skip to content

Commit 53d77f3

Browse files
committed
Use a matrix-based build
1 parent d03765c commit 53d77f3

File tree

2 files changed

+7
-24
lines changed

2 files changed

+7
-24
lines changed

.github/workflows/java11.yml

Lines changed: 0 additions & 21 deletions
This file was deleted.

.github/workflows/maven.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Java8 build
1+
name: build
22

33
on:
44
push:
@@ -10,12 +10,16 @@ jobs:
1010
build:
1111

1212
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
java: [ 8, 11, 14 ]
16+
name: Java ${{ matrix.java }}
1317

1418
steps:
1519
- uses: actions/checkout@v2
16-
- name: Set up JDK 1.8
20+
- name: Set up Java
1721
uses: actions/setup-java@v1
1822
with:
19-
java-version: 1.8
23+
java-version: ${{ matrix.java }}
2024
- name: Build with Maven
2125
run: mvn clean test -q

0 commit comments

Comments
 (0)