From b1cd778839e3f07a6fdb043da16df1d5e3d88e96 Mon Sep 17 00:00:00 2001 From: Ben Young Date: Fri, 13 Dec 2024 15:44:39 -0500 Subject: [PATCH] save any rds or json even if there is a failure --- .github/workflows/save-raw-data.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/save-raw-data.yaml b/.github/workflows/save-raw-data.yaml index 17f9a6f..ffb838e 100644 --- a/.github/workflows/save-raw-data.yaml +++ b/.github/workflows/save-raw-data.yaml @@ -73,6 +73,7 @@ jobs: # Upload .rds files - name: Upload .rds files and prepare zip for manual download uses: actions/upload-artifact@v4 + if: success() || failure() with: # Artifact name name: data - ${{ matrix.script-run }} - ${{ matrix.data-year }} @@ -84,6 +85,7 @@ jobs: # Upload .json files - name: Upload .json files and prepare zip for manual download uses: actions/upload-artifact@v4 + if: success() || failure() with: # Artifact name name: metadata - ${{ matrix.script-run }} - ${{ matrix.data-year }}