From 7304a4963535ba506f1e63dc202acae555f0df61 Mon Sep 17 00:00:00 2001 From: Andrew Moore <20435317+andrewmooreio@users.noreply.github.com> Date: Wed, 4 Dec 2024 10:22:03 +0000 Subject: [PATCH] chore: always output job logs --- .github/workflows/opensearch-backup.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/opensearch-backup.yml b/.github/workflows/opensearch-backup.yml index bc59b91..d98c8c0 100644 --- a/.github/workflows/opensearch-backup.yml +++ b/.github/workflows/opensearch-backup.yml @@ -52,6 +52,7 @@ jobs: kubectl wait job/opensearch-backup --for=condition=complete --timeout=3h - name: Output job logs + if: always() run: | # Get the pod name from the job POD_NAME=$(kubectl get pods --selector=job-name=opensearch-backup -o jsonpath='{.items[0].metadata.name}')