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

jdanek pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git


The following commit(s) were added to refs/heads/main by this push:
     new 50bce12  NO-JIRA: produce a zip file with router logs if GitHub Action 
fails (#1203)
50bce12 is described below

commit 50bce129a57d1e63a969638ebfbb4c4fd416f2a4
Author: Jiri DanÄ›k <[email protected]>
AuthorDate: Tue May 11 16:53:53 2021 +0200

    NO-JIRA: produce a zip file with router logs if GitHub Action fails (#1203)
---
 .github/workflows/build.yaml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index e8759f6..8584817 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -228,6 +228,14 @@ jobs:
           name: 
Test_Results_${{matrix.os}}_${{matrix.buildType}}_${{matrix.runtimeCheck}}_${{matrix.shard}}
           path: ${{env.DispatchBuildDir}}/Testing/**/*.xml
 
+      - name: Upload log files (if any tests failed)
+        uses: actions/upload-artifact@v2
+        if: failure()
+        with:
+          name: 
testLogs_${{matrix.os}}_${{matrix.buildType}}_${{matrix.runtimeCheck}}_${{matrix.shard}}
+          path: |
+            qpid-dispatch/build/tests
+
       - name: Upload core files (if any)
         uses: actions/upload-artifact@v2
         if: failure()

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to