From 7f6683aecf7d14879c291089c9a27006d29e9986 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Tue, 29 Aug 2023 15:25:11 -0700 Subject: [PATCH] Upload GitHub workflow artifacts even when the test fails. When a test in `.github/workflows/ci.yml`'s `gpu-test` fails, ensure that it uploads the artifacts anyway. These are screenshots and comparison images, so they're valuable in debugging the failure. --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f4ed15c4a7e..06ae299b77d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -284,6 +284,7 @@ jobs: done - uses: actions/upload-artifact@v3 + if: always() # We want artifacts even if the tests fail. with: name: comparison-images path: |