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

abhishekrb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git


The following commit(s) were added to refs/heads/master by this push:
     new 6e9eee4c5fd Add failure check (#15873)
6e9eee4c5fd is described below

commit 6e9eee4c5fd2c8e9abc4dc26b019061d47f96071
Author: Vishesh Garg <[email protected]>
AuthorDate: Fri Feb 9 21:57:10 2024 +0530

    Add failure check (#15873)
---
 .github/workflows/static-checks.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/static-checks.yml 
b/.github/workflows/static-checks.yml
index 100c6ee626a..a7d374d321f 100644
--- a/.github/workflows/static-checks.yml
+++ b/.github/workflows/static-checks.yml
@@ -187,11 +187,11 @@ jobs:
           web-console/script/druid stop
 
       - name: Tar druid logs
-        if: ${{ steps.web-console-test.conclusion == 'failure' }}
+        if: ${{ failure() && steps.web-console-test.conclusion == 'failure' }}
         run: tar cvzf ./druid-logs.tgz -C 
./distribution/target/apache-druid-*-SNAPSHOT/ log
 
       - name: Upload druid logs to GitHub
-        if: ${{ steps.web-console-test.conclusion == 'failure' }}
+        if: ${{ failure() && steps.web-console-test.conclusion == 'failure' }}
         uses: actions/upload-artifact@master
         with:
           name: Druid logs web-checks


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to