Compare commits

...
14 Commits
Author SHA1 Message Date
Tom Hu 4a208c1d0c fix: fail 2024-12-05 22:33:32 -03:00
Tom Hu 902e26a66e fix: only failures 2024-12-05 22:33:11 -03:00
Tom Hu eef94fef0b fix: single quotes? 2024-12-05 22:31:04 -03:00
Tom Hu 6133781518 fix: use inputs 2024-12-05 22:28:51 -03:00
Tom Hu 34a385ff62 fix: newline token 2024-12-05 22:27:18 -03:00
Tom Hu ad90be6459 fix: put it all in 2024-12-05 22:24:28 -03:00
Tom Hu b8bc9db399 fix: pretty 2024-12-05 22:23:00 -03:00
Tom Hu 45c554e577 fix: check it 2024-12-05 22:22:09 -03:00
Tom Hu 969e2a1344 fix: shell 2024-12-05 22:20:45 -03:00
Tom Hu 419a6354b0 fix: add a new step 2024-12-05 22:20:28 -03:00
Tom Hu 1c9ba15f25 fix: do the thing 2024-12-05 22:19:51 -03:00
Tom Hu 1ffd4a9bde fix: test a failure 2024-12-05 22:18:15 -03:00
Tom Hu 2e5fc410f6 fix: flip it 2024-12-05 22:17:50 -03:00
Tom Hu f7fa523f5c fix: add a graceful exit 2024-12-05 22:17:11 -03:00
2 changed files with 13 additions and 2 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ jobs:
- name: Upload coverage to Codecov (script)
uses: ./
with:
fail_ci_if_error: true
fail_ci_if_error: false
files: ./coverage/script/coverage-final.json
flags: script-${{ matrix.os }}
name: codecov-script
+12 -1
View File
@@ -179,7 +179,7 @@ runs:
else
if [ -n ${{ inputs.token }} ];
then
CC_TOKEN=$(echo ${{ inputs.token }} | tr -d '\n')
CC_TOKEN=$(echo "${{ inputs.token }}" | tr -d '\n')
echo "CC_TOKEN=$CC_TOKEN" >> "$GITHUB_ENV"
fi
fi
@@ -264,3 +264,14 @@ runs:
CC_VERBOSE: ${{ inputs.verbose }}
CC_VERSION: ${{ inputs.version }}
CC_YML_PATH: ${{ inputs.codecov_yml_path }}
- name: Error
shell: bash
run: exit 1
- name: Gracefully exit
if: ${{ failure() && inputs.fail_ci_if_error != 'true' }}
shell: bash
run: |
echo -e "\033[0;32m==>\033[0m Exiting gracefully..."
exit 0