You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/02/10 10:27:42 UTC

[camel-spring-boot] branch master updated: Fixed github action

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.git


The following commit(s) were added to refs/heads/master by this push:
     new 760bf30  Fixed github action
760bf30 is described below

commit 760bf3088ae486edf57d0a62593cc9b6a38f2cdc
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Feb 10 11:27:19 2020 +0100

    Fixed github action
---
 .github/workflows/automatic-sync-master.yml | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/automatic-sync-master.yml b/.github/workflows/automatic-sync-master.yml
index 683488c..c33ca15 100644
--- a/.github/workflows/automatic-sync-master.yml
+++ b/.github/workflows/automatic-sync-master.yml
@@ -21,12 +21,11 @@ on:
   schedule:
     # Run every day at midnight
     - cron:  '5 * * * *'
-
 jobs:
-  sync:
+  build:
+    name: Build
     runs-on: ubuntu-latest
     steps:
-      # Note: checkout@v2 seems to break the pull-request action hence v1 is used
       - name: Checkout
         uses: actions/checkout@v1
         with:
@@ -37,13 +36,17 @@ jobs:
         with:
           java-version: 1.8
       - name: Build Project
-        run: mvn clean install -DskipTests
-      - name: Checkout SB
+        run: ./mvnw clean install -DskipTests
+  sync:
+    runs-on: ubuntu-latest
+    steps:
+      # Note: checkout@v2 seems to break the pull-request action hence v1 is used
+      - name: Checkout
         uses: actions/checkout@v1
       - name: GitHub Pull Request Action
         uses: repo-sync/pull-request@v2.0.1
         with:
           source_branch: master
           destination_branch: master
-          pr_title: Automatic sync branch master with Camel 3.1.0-SNAPSHOT
+          pr_title: Automatic sync branch master to camel-master
           github_token: ${{ secrets.GITHUB_TOKEN }}