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

tsato pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git

commit 73ad539cdebe828f6705a7dfa0c08b091a9a903d
Author: Tadayoshi Sato <sato.tadayo...@gmail.com>
AuthorDate: Mon Sep 5 21:33:40 2022 +0900

    Archive results only when tests failed for Maven IT
---
 .github/workflows/maven-it.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/maven-it.yaml b/.github/workflows/maven-it.yaml
index c445cd1e7..293028cd4 100644
--- a/.github/workflows/maven-it.yaml
+++ b/.github/workflows/maven-it.yaml
@@ -70,7 +70,7 @@ jobs:
             clean verify
       - name: Archive test results
         uses: actions/upload-artifact@v3
-        if: always()
+        if: ${{ failure() }}
         with:
           name: maven-it-java-${{ matrix.java }}
           path: |

Reply via email to