You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by lb...@apache.org on 2019/11/14 17:13:49 UTC

[camel-quarkus] branch master updated: build(actions): enable build in jvm mode for all the supported java versions

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

lburgazzoli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git


The following commit(s) were added to refs/heads/master by this push:
     new 00d36e2  build(actions): enable build in jvm mode for all the supported java versions
00d36e2 is described below

commit 00d36e2727d6c7718105acb64f9a634a02f63458
Author: lburgazzoli <lb...@gmail.com>
AuthorDate: Thu Nov 14 17:59:47 2019 +0100

    build(actions): enable build in jvm mode for all the supported java versions
---
 .../workflows/{pr-build-java-11.yml => pr-build-jvm.yml}    | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/pr-build-java-11.yml b/.github/workflows/pr-build-jvm.yml
similarity index 85%
rename from .github/workflows/pr-build-java-11.yml
rename to .github/workflows/pr-build-jvm.yml
index c8d1a4d..70b60f2 100644
--- a/.github/workflows/pr-build-java-11.yml
+++ b/.github/workflows/pr-build-jvm.yml
@@ -15,20 +15,23 @@
 # limitations under the License.
 #
 
-name: Build PR on Java 11 (JVM)
+name: Build PR in JVM mode
 
-on: 
+on:
   pull_request:
-    branches: 
+    branches:
       - master
 jobs:
   build:
     runs-on: ubuntu-latest
+    strategy:
+      matrix:
+        java: [ '1.8', '11' ]
     steps:
     - uses: actions/checkout@v1
-    - name: Set up JDK 11
+    - name: Set up JDK ${{ matrix.java }}
       uses: actions/setup-java@v1
       with:
-        java-version: 11
+        java-version: ${{ matrix.java }}
     - name: mvn verify
       run: ./mvnw -V -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn clean verify