diff --git a/.github/workflows/static-checks.yml b/.github/workflows/static-checks.yml index 49cd516f5cae..28535b334b08 100644 --- a/.github/workflows/static-checks.yml +++ b/.github/workflows/static-checks.yml @@ -183,3 +183,14 @@ jobs: web-console/script/druid start (cd web-console && npm run test-e2e) web-console/script/druid stop + + - name: Tar druid logs + if: ${{ failure() }} + run: tar cvzf ./druid-logs.tgz -C ./distribution/target/apache-druid-*-SNAPSHOT/ logs + + - name: Upload druid logs to GitHub + if: ${{ failure() }} + uses: actions/upload-artifact@master + with: + name: Druid logs web-checks + path: druid-logs.tgz