You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by oa...@apache.org on 2020/02/11 11:38:13 UTC
[camel-examples] branch master updated: Create master-pr-build.yml
This is an automated email from the ASF dual-hosted git repository.
oalsafi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-examples.git
The following commit(s) were added to refs/heads/master by this push:
new 0bf5e9b Create master-pr-build.yml
0bf5e9b is described below
commit 0bf5e9b4ccd815eda01ae5368599d849e4e8db9c
Author: Omar Al-Safi <om...@gmail.com>
AuthorDate: Tue Feb 11 12:38:09 2020 +0100
Create master-pr-build.yml
---
.github/workflows/master-pr-build.yml | 37 +++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/.github/workflows/master-pr-build.yml b/.github/workflows/master-pr-build.yml
new file mode 100644
index 0000000..d62b3b8
--- /dev/null
+++ b/.github/workflows/master-pr-build.yml
@@ -0,0 +1,37 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: master pr build
+
+on:
+ pull_request:
+ branches:
+ - master
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ java: [ '1.8', '11' ]
+ steps:
+ - uses: actions/checkout@v1
+ - name: Set up JDK ${{ matrix.java }}
+ uses: actions/setup-java@v1
+ with:
+ java-version: ${{ matrix.java }}
+ - name: mvn build
+ run: ./mvnw -f examples/pom.xml -V --no-transfer-progress clean install -DskipTests