From 613378151851f92b8939ae87a929d63ca026d26c Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Thu, 5 Dec 2024 22:28:51 -0300 Subject: [PATCH] fix: use inputs --- action.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/action.yml b/action.yml index 8fce41185..009a998de 100644 --- a/action.yml +++ b/action.yml @@ -266,10 +266,8 @@ runs: CC_YML_PATH: ${{ inputs.codecov_yml_path }} - name: Gracefully exit - if: ${{ !cancelled() && "$CC_FAIL_CI_IF_ERROR" != "true" }} + if: ${{ !cancelled() && inputs.fail_ci_if_error != "true" }} shell: bash run: | echo -e "\033[0;32m==>\033[0m Exiting gracefully..." exit 0 - env: - CC_FAIL_CI_IF_ERROR: ${{ inputs.fail_ci_if_error }}