From 15755641dd67814044d953b7ec9e2c6c40a5ffa5 Mon Sep 17 00:00:00 2001 From: bowenlan-amzn Date: Sat, 30 Sep 2023 21:56:32 -0700 Subject: [PATCH] Add back if failure Signed-off-by: bowenlan-amzn --- .github/workflows/docker-security-test-workflow.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/docker-security-test-workflow.yml b/.github/workflows/docker-security-test-workflow.yml index 21d34a856..4f1f3b9ae 100644 --- a/.github/workflows/docker-security-test-workflow.yml +++ b/.github/workflows/docker-security-test-workflow.yml @@ -91,6 +91,7 @@ jobs: run: tar cvzf ./logs.tgz ./logs - name: Upload logs to GitHub uses: actions/upload-artifact@v2 + if: failure() with: name: logs.tgz path: ./logs.tgz