From 48458806eb6d209b6b513c8ea3a89efc2cf346cd Mon Sep 17 00:00:00 2001 From: fwang12 Date: Sat, 17 Apr 2021 15:08:10 +0800 Subject: [PATCH] [KYUUBI #520] Upload engine log in GA if failure ### _Why are the changes needed?_ Upload engine log in GA if failure. FYI: The engine log path is `kyuubi-main/target/work/travis/kyuubi-spark-sql-engine.log*`. ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [ ] [Run test](https://kyuubi.readthedocs.io/en/latest/tools/testing.html#running-tests) locally before make a pull request Closes #540 from turboFei/KYUUBI-520-upload-ga. Closes #520 5c18c95 [fwang12] remove blank lines 757f749 [fwang12] [KYUUBI #520] Upload engine log in GA if failure Authored-by: fwang12 Signed-off-by: fwang12 --- .github/workflows/master.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 05fd071b2..65f0c012f 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -77,6 +77,12 @@ jobs: - name: Detected Dependency List Change if: ${{ ! contains(matrix.profiles, 'spark-3.2-snapshot') }} run: build/dependency.sh + - name: Upload kyuubi spark sql engine log + if: failre() + uses: actions/upload-artifact@v2 + with: + name: kyuubi-spark-sql-engine-log + path: "**/kyuubi-spark-sql-engine.log*" - name: Upload unit tests log if: failure() uses: actions/upload-artifact@v2