This is an automated email from the ASF dual-hosted git repository. robbie pushed a commit to branch 0.x in repository https://gitbox.apache.org/repos/asf/qpid-jms.git
commit 4ca8a1fdb586367795bdcf6d0f94072ec5e19e99 Author: Robbie Gemmell <[email protected]> AuthorDate: Mon Jul 12 12:43:36 2021 +0100 NO-JIRA: try to upload archive of surefire logs upon failure (cherry picked from commit 26350ae2374cd031f5f0f9bd8d83db9e422412bf) --- .github/workflows/build.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 71198f8..900d8f3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,3 +27,14 @@ jobs: - name: Build run: mvn -B clean verify + + - name: Archive Test Logs On Failure + if: failure() + run: tar -czvf surefire-reports-jdk-${{ matrix.java }}.tar.gz **/target/surefire-reports/* + + - name: Upload Test Logs On Failure + if: failure() + uses: actions/upload-artifact@v2 + with: + name: surefire-reports-jdk-${{ matrix.java }} + path: surefire-reports-jdk-${{ matrix.java }}.tar.gz --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
