You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2019/08/31 12:24:40 UTC

[commons-bcel] 02/02: Use a Java build matrix.

This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit 8ce6e1fe80ce87f3e5d3c3170c18bd00935401c3
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Aug 31 08:24:35 2019 -0400

    Use a Java build matrix.
---
 .github/workflows/maven.yml | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 1379c44..f90af52 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -21,12 +21,15 @@ jobs:
   build:
 
     runs-on: ubuntu-latest
-
+    strategy:
+      matrix:
+        java: [ '1.8', '11.0.4', '12.0.2' ]
+        
     steps:
     - uses: actions/checkout@v1
-    - name: Set up JDK 1.8
+    - name: Set up JDK ${{ matrix.java }}
       uses: actions/setup-java@v1
       with:
-        java-version: 1.8
+        java-version: ${{ matrix.java }}
     - name: Build with Maven
       run: mvn -V package --file pom.xml