You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fluo.apache.org by ct...@apache.org on 2020/10/13 21:03:39 UTC

[fluo-recipes] branch main updated: Upload test logs on build failure (#156)

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-recipes.git


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

commit 16920b3f4c6573a787a7b7a7fa4ffebf48264f50
Author: Christopher Tubbs <ct...@apache.org>
AuthorDate: Tue Oct 13 16:59:05 2020 -0400

    Upload test logs on build failure (#156)
---
 .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