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

ctubbsii pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fluo-bytes.git


The following commit(s) were added to refs/heads/main by this push:
     new 1b3f9c6  Upload test logs on build failure (#10)
1b3f9c6 is described below

commit 1b3f9c6f6d63bd9d556a4f888fe327d14cd97c65
Author: Christopher Tubbs <ctubb...@apache.org>
AuthorDate: Tue Oct 13 16:57:11 2020 -0400

    Upload test logs on build failure (#10)
---
 .github/workflows/maven.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.github/workflows/maven.yaml b/.github/workflows/maven.yaml
index 0b5108b..dc8ff37 100644
--- a/.github/workflows/maven.yaml
+++ b/.github/workflows/maven.yaml
@@ -52,12 +52,14 @@ jobs:
       env:
         MAVEN_OPTS: -Djansi.force=true
     - name: Upload unit test results
+      if: ${{ failure() }}
       uses: actions/upload-artifact@v2
       with:
         name: surefire-reports
         path: ./**/target/surefire-reports/
         if-no-files-found: ignore
     - name: Upload integration test results
+      if: ${{ failure() }}
       uses: actions/upload-artifact@v2
       with:
         name: failsafe-reports

Reply via email to