]> source.dussan.org Git - rspamd.git/commitdiff
[Test] Fix uploading of test logs when tests are failed 4917/head
authorAndrew Lewis <nerf@judo.za.org>
Tue, 9 Apr 2024 16:18:11 +0000 (18:18 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Tue, 9 Apr 2024 16:18:11 +0000 (18:18 +0200)
.github/workflows/ci_rspamd.yml

index ebd4f2cf319e43998fea7be4c4f91e2d9457449c..0e2035c14c111b27fa37b0a1cdb542def9a08a5d 100644 (file)
@@ -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@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@v4
         with:
           name: rspamdlog-${{ inputs.name }}