commit c084536: [Test] Fix uploading of test logs when tests are failed

Andrew Lewis nerf at judo.za.org
Mon Jul 29 17:55:28 UTC 2024


Author: Andrew Lewis
Date: 2024-04-09 18:18:11 +0200
URL: https://github.com/rspamd/rspamd/commit/c08453633df54c7b9dbb178caceeba724bba3340 (refs/pull/4917/head)

[Test] Fix uploading of test logs when tests are failed

---
 .github/workflows/ci_rspamd.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/ci_rspamd.yml b/.github/workflows/ci_rspamd.yml
index ebd4f2cf3..0e2035c14 100644
--- a/.github/workflows/ci_rspamd.yml
+++ b/.github/workflows/ci_rspamd.yml
@@ -73,11 +73,11 @@ jobs:
           exit $EXIT_CODE
 
       - name: Save workspace directory
+        if: (success() || failure())
         run: echo "CONTAINER_WORKSPACE=${GITHUB_WORKSPACE}" >> "$GITHUB_ENV"
 
-      # FIXME: upload test logs even on ARM
       - name: Upload robot logs
-        if: runner.arch == 'X64' && (success() || failure())
+        if: (success() || failure())
         uses: actions/upload-artifact at v4
         with:
           name: robotlog-${{ inputs.name }}
@@ -86,7 +86,7 @@ jobs:
           retention-days: 1
 
       - name: Upload rspamd logs
-        if: runner.arch == 'X64' && (success() || failure())
+        if: (success() || failure())
         uses: actions/upload-artifact at v4
         with:
           name: rspamdlog-${{ inputs.name }}


More information about the Commits mailing list