Rebase camel-master onto master gh action: Fixed steps
@@ -54,6 +54,10 @@ jobs:
./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: steps.report.outputs.overall_build_status == 'success'
+ run: |
+ git push --force-with-lease origin camel-master
- name: Report Build Failure
if: failure()
run: |
@@ -62,7 +66,3 @@ jobs:
git rebase --abort
fi
./mvnw verify -N -B -ntp -Pbuild-notification -Dstatus=${{ job.status }} -Dtoken=${{ secrets.GITHUB_TOKEN }} -DbuildId=$(cat ~/build-data/build-id.txt) -Drepo=${GITHUB_REPOSITORY} -Dbranch=camel-master -Dbranch-commit=$(cat ~/build-data/master-sha.txt)
- - name: Sync branch Master to Camel Master
- if: steps.report.outputs.overall_build_status == 'success'
- run: |
- git push --force-with-lease origin camel-master
