mirror of
https://github.com/apache/druid.git
synced 2025-02-27 14:00:18 +00:00
Add failure check (#15873)
This commit is contained in:
parent
4255711b3e
commit
6e9eee4c5f
4
.github/workflows/static-checks.yml
vendored
4
.github/workflows/static-checks.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user