Skip to content

Commit 1f55c86

Browse files
authored
Update action.yml
1 parent d56845c commit 1f55c86

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

action.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,13 @@ runs:
1717
- id: coverage-badge
1818
run: |
1919
pip install -U coverage-badge
20-
bash entrypoint.sh
20+
EXTRA_ARGS=""
21+
22+
if [[ '${{ inputs.overwrite }}' == 'true' ]]; then
23+
EXTRA_ARGS+='-f'
24+
fi
25+
26+
coverage-badge "$EXTRA_ARGS" -o "${{ inputs.output }}"
2127
shell: bash
2228
branding:
2329
icon: menu

0 commit comments

Comments
 (0)