mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-10 21:17:24 +00:00
fix: add a graceful exit
This commit is contained in:
parent
7f8b4b4bde
commit
f7fa523f5c
1 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue