From: Andrew Lewis Date: Tue, 9 Apr 2024 16:18:11 +0000 (+0200) Subject: [Test] Fix uploading of test logs when tests are failed X-Git-Tag: 3.9.0~73^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c08453633df54c7b9dbb178caceeba724bba3340;p=rspamd.git [Test] Fix uploading of test logs when tests are failed --- 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 }}