From c08453633df54c7b9dbb178caceeba724bba3340 Mon Sep 17 00:00:00 2001 From: Andrew Lewis Date: Tue, 9 Apr 2024 18:18:11 +0200 Subject: [PATCH] [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@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 }} -- 2.39.5