From a788b84c5f2b9ac6e26888fb79079f682adc9293 Mon Sep 17 00:00:00 2001 From: Jayasanka Weerasinghe <33048395+jayasanka-sack@users.noreply.github.com> Date: Tue, 2 Jul 2024 11:21:08 +0100 Subject: [PATCH] (chore) Capture E2E server logs even on failure --- .github/workflows/e2e.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index a0019259df..f1f4368944 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -64,14 +64,14 @@ jobs: overwrite: true - name: Capture Server Logs - if: '!cancelled()' + if: always() uses: jwalton/gh-docker-logs@v2 with: dest: './logs' - name: Upload Logs as Artifact uses: actions/upload-artifact@v4 - if: '!cancelled()' + if: always() with: name: server-logs path: './logs'