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 10:56:23 UTC
[camel-examples] branch master updated: Create master-push-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 e5c5020 Create master-push-build.yml
e5c5020 is described below
commit e5c50205ab2ac49b39a2fa2a28eb464096f52602
Author: Omar Al-Safi <om...@gmail.com>
AuthorDate: Tue Feb 11 11:56:14 2020 +0100
Create master-push-build.yml
---
.github/workflows/master-push-build.yml | 37 +++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/.github/workflows/master-push-build.yml b/.github/workflows/master-push-build.yml
new file mode 100644
index 0000000..a8966df
--- /dev/null
+++ b/.github/workflows/master-push-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 build
+
+on:
+ push:
+ 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 and tests
+ run: ./mvnw -f examples/pom.xml -V --no-transfer-progress clean install