From a1b383f560a7f52a65da3670e61efe6e02f8639a Mon Sep 17 00:00:00 2001 From: skyArony <1450872874@qq.com> Date: Sun, 18 Feb 2024 22:43:02 +0800 Subject: [PATCH] fix: Fix default values used incorrectly. --- action.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/action.yml b/action.yml index 86df57c..1c30b61 100644 --- a/action.yml +++ b/action.yml @@ -40,17 +40,17 @@ inputs: required: false default: "" SCRIPT_BEFORE_REQUIRED: - description: "If true, the action will fail if the before script fails" + description: "If not an empty string, the action will fail if the before script fails. Note: The string 'false' will be treated as true" required: false - default: "false" + default: "" SCRIPT_AFTER: description: "Script to run on host machine after rsync" required: false default: "" SCRIPT_AFTER_REQUIRED: - description: "If true, the action will fail if the after script fails" + description: "If not an empty string, the action will fail if the after script fails. Note: The string 'false' will be treated as true" required: false - default: "false" + default: "" outputs: status: description: "Status"