瀏覽代碼

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

pull/4917/head
Andrew Lewis 1 月之前
父節點
當前提交
c08453633d
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3
    3
      .github/workflows/ci_rspamd.yml

+ 3
- 3
.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 }}

Loading…
取消
儲存