mirror of
https://github.com/codecov/codecov-action.git
synced 2025-12-23 20:27:02 +08:00
fix: add a graceful exit
This commit is contained in:
@@ -264,3 +264,8 @@ runs:
|
|||||||
CC_VERBOSE: ${{ inputs.verbose }}
|
CC_VERBOSE: ${{ inputs.verbose }}
|
||||||
CC_VERSION: ${{ inputs.version }}
|
CC_VERSION: ${{ inputs.version }}
|
||||||
CC_YML_PATH: ${{ inputs.codecov_yml_path }}
|
CC_YML_PATH: ${{ inputs.codecov_yml_path }}
|
||||||
|
|
||||||
|
- name: Gracefully exit
|
||||||
|
if: ${{ !cancelled() }} && ${{ inputs.fail_ci_if_error }} == "true"
|
||||||
|
shell: bash
|
||||||
|
run: exit 0
|
||||||
|
|||||||
Reference in New Issue
Block a user