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/08/25 16:35:30 UTC
[camel-kafka-connector] branch master updated: Better conditional
in the rebase gh 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-kafka-connector.git
The following commit(s) were added to refs/heads/master by this push:
new 66ec12e Better conditional in the rebase gh action
66ec12e is described below
commit 66ec12e4131bfa02cf977d7980fbddcf3ef649d2
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Aug 25 18:35:08 2020 +0200
Better conditional in the rebase gh action
---
.github/workflows/rebase-master-onto-camel-master.yml | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/rebase-master-onto-camel-master.yml b/.github/workflows/rebase-master-onto-camel-master.yml
index 4333294..be0f5d3 100644
--- a/.github/workflows/rebase-master-onto-camel-master.yml
+++ b/.github/workflows/rebase-master-onto-camel-master.yml
@@ -20,7 +20,7 @@ name: Daily Build Camel Master onto master
on:
schedule:
# Run every day at midnight
- - cron: '0 0 * * *'
+ - cron: '* * * * *'
jobs:
build:
@@ -46,14 +46,17 @@ jobs:
git rebase origin/master
git rev-parse origin/master > ~/build-data/master-sha.txt
- name: Set up JDK ${{ matrix.java }}
+ if: ${{ success() }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: mvn sourcecheck + build and itests
+ if: ${{ success() }}
run: |
./mvnw -V --no-transfer-progress -DskipTests --projects org.apache.camel.kafkaconnector:parent,org.apache.camel.kafkaconnector:camel-kafka-connector-aggregator,org.apache.camel.kafkaconnector:camel-buildtools clean install
./mvnw -V --no-transfer-progress --projects org.apache.camel.kafkaconnector:camel-kafka-connector-generator-maven-plugin -Dcheckstyle.failOnViolation=true -Psourcecheck -DskipTests clean install
./mvnw -V --no-transfer-progress --projects '!org.apache.camel.kafkaconnector:camel-kafka-connector-generator-maven-plugin' -Dcheckstyle.failOnViolation=true -Psourcecheck -DskipIntegrationTests=false clean test
- name: Sync branch Master to Camel Master
+ if: ${{ success() }}
run: |
git push --force-with-lease origin camel-master