From 8321bdecf99589bd47e1594f8f48cb72ecc35a5c Mon Sep 17 00:00:00 2001 From: Bailey Belvis Date: Thu, 5 Oct 2023 16:33:43 -0500 Subject: [PATCH] [542] attempt fix gha error when no files to upload --- .github/workflows/sync_peloton_to_garmin.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/sync_peloton_to_garmin.yml b/.github/workflows/sync_peloton_to_garmin.yml index c1fcc498a..693e57dce 100644 --- a/.github/workflows/sync_peloton_to_garmin.yml +++ b/.github/workflows/sync_peloton_to_garmin.yml @@ -97,6 +97,7 @@ jobs: zip -r -j output.zip ${{ env.OUTPUT_DIR }} - uses: actions/upload-artifact@v3 + if: ${{ github.event.inputs.saveLocalCopy }} with: name: output path: output.zip