Skip to content

Commit

Permalink
add badge action argument
Browse files Browse the repository at this point in the history
  • Loading branch information
vladopajic committed Oct 29, 2023
1 parent 95a7d7a commit 3fedd70
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ inputs:
required: false
default: -1
type: number
badge-file-name:
description: When specified coverage badge will be created and saved to file with this name.
required: false
default: "''"
type: string
outputs:
total-coverage:
description: Holds total coverage value.
Expand All @@ -50,6 +55,7 @@ runs:
- --threshold-file=${{ inputs.threshold-file }}
- --threshold-package=${{ inputs.threshold-package }}
- --threshold-total=${{ inputs.threshold-total }}
- --badge-file-name=${{ inputs.badge-file-name }}
branding:
icon: 'code'
color: 'blue'

0 comments on commit 3fedd70

Please sign in to comment.