We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92d560e commit ed631beCopy full SHA for ed631be
1 file changed
.github/workflows/workflow.yml
@@ -8,14 +8,20 @@ on:
8
9
jobs:
10
build:
11
-
12
- runs-on: ubuntu-latest
+ name: Build on Java ${{ matrix.java_version }} and ${{ matrix.os }}
+ strategy:
13
+ matrix:
14
+ java_version: ['1.8', '9.0.x', '12.0.2']
15
+ os: [ubuntu-latest, windows-latest, macOS-latest]
16
+
17
+ runs-on: ${{ matrix.os }}
18
19
steps:
20
- uses: actions/checkout@v1
- - name: Set up JDK 1.8
21
+ - name: Set up JDK ${{ matrix.java_version }}
22
uses: actions/setup-java@v1
23
with:
- java-version: 1.8
24
+ java-version: ${{ matrix.java_version }}
25
+ architecture: x64
26
- name: Build with Maven
27
run: mvn package --file pom.xml
0 commit comments