diff options
author | Andrew Lewis <nerf@judo.za.org> | 2024-04-09 18:18:11 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2024-04-09 18:18:11 +0200 |
commit | c08453633df54c7b9dbb178caceeba724bba3340 (patch) | |
tree | 9178942c2012dace4934297e168d121381add25e /.github | |
parent | 5f8ea684dab9a4a57adf99ca7f577601aeba2a86 (diff) | |
download | rspamd-c08453633df54c7b9dbb178caceeba724bba3340.tar.gz rspamd-c08453633df54c7b9dbb178caceeba724bba3340.zip |
[Test] Fix uploading of test logs when tests are failed
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci_rspamd.yml | 6 |
1 files 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 }} |