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

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot-examples.git


The following commit(s) were added to refs/heads/master by this push:
     new 75d7741  Added Github actions
75d7741 is described below

commit 75d774116b5aaf2fadafb58da1c2d082e1c46536
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Thu May 21 13:07:19 2020 +0200

    Added Github actions
---
 .github/workflows/master-pr-build.yml   | 37 +++++++++++++++++++++++++++++++++
 .github/workflows/master-push-build.yml | 37 +++++++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+)

diff --git a/.github/workflows/master-pr-build.yml 
b/.github/workflows/master-pr-build.yml
new file mode 100644
index 0000000..6829d56
--- /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@v2
+      - 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
diff --git a/.github/workflows/master-push-build.yml 
b/.github/workflows/master-push-build.yml
new file mode 100644
index 0000000..09d4ceb
--- /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@v2
+      - 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

Reply via email to