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 }}