From a8e9fad6e3c863542e6821f5bee8616236d813eb Mon Sep 17 00:00:00 2001 From: Anatoly Leskovets Date: Sat, 30 Sep 2023 13:09:35 -0400 Subject: [PATCH] 534: Explicitly define default value for saveLocalCopy (#535) * fix(gh-action): Explicitly define default value for saveLocalCopy fixes #534 * fix: zip folder before uploading * fail if no files * use papeloto/action-zip * revert pre-zip changes back --- .github/workflows/sync_peloton_to_garmin.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sync_peloton_to_garmin.yml b/.github/workflows/sync_peloton_to_garmin.yml index 295bb48ed..8ff12c279 100644 --- a/.github/workflows/sync_peloton_to_garmin.yml +++ b/.github/workflows/sync_peloton_to_garmin.yml @@ -48,7 +48,7 @@ jobs: "Fit": true, "Json": false, "Tcx": false, - "SaveLocalCopy": ${{ github.event.inputs.saveLocalCopy }}, + "SaveLocalCopy": ${{ github.event.inputs.saveLocalCopy || false }}, "IncludeTimeInHRZones": false, "IncludeTimeInPowerZones": false, "DeviceInfoPath": "./deviceInfo.xml"