Quellcode durchsuchen

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

pull/4917/head
Andrew Lewis vor 1 Monat
Ursprung
Commit
c08453633d
1 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. 3
    3
      .github/workflows/ci_rspamd.yml

+ 3
- 3
.github/workflows/ci_rspamd.yml Datei anzeigen

@@ -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 }}

Laden…
Abbrechen
Speichern