You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2022/10/13 08:39:18 UTC

[camel] branch main updated: (chores) ci: add support for generating checkstyle summaries

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

orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 1ebc408c641 (chores) ci: add support for generating checkstyle summaries
1ebc408c641 is described below

commit 1ebc408c641aad5b410ac77cff5233bcba170204
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Thu Oct 13 10:38:53 2022 +0200

    (chores) ci: add support for generating checkstyle summaries
---
 .github/workflows/main-checkstyle-build.yml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/.github/workflows/main-checkstyle-build.yml b/.github/workflows/main-checkstyle-build.yml
index 47ea9b4803e..2fae1384e10 100644
--- a/.github/workflows/main-checkstyle-build.yml
+++ b/.github/workflows/main-checkstyle-build.yml
@@ -54,3 +54,13 @@ jobs:
         with:
           name: checkstyle.log
           path: checkstyle.log
+      - name: Generate failure checkstyle summary
+        if: failure()
+        run: |
+          echo ":x: Checkstyle failed" >> $GITHUB_STEP_SUMMARY
+          echo "" >> $GITHUB_STEP_SUMMARY
+      - name: Generate successful checkstyle summary
+        if: failure()
+        run: |
+          echo ":white_check_mark: Checkstyle passed" >> $GITHUB_STEP_SUMMARY
+          echo "" >> $GITHUB_STEP_SUMMARY