mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-08 03:57:26 +00:00
add file path param
This commit is contained in:
parent
72a27786b2
commit
caffaa27c7
2 changed files with 6 additions and 0 deletions
|
|
@ -5,6 +5,9 @@ inputs:
|
|||
token:
|
||||
description: 'Set the repository token'
|
||||
required: false
|
||||
file:
|
||||
description: 'Path to coverage file'
|
||||
required: false
|
||||
branding:
|
||||
color: 'red'
|
||||
icon: 'umbrella'
|
||||
|
|
@ -13,3 +16,4 @@ runs:
|
|||
image: 'Dockerfile'
|
||||
args:
|
||||
- ${{ inputs.token }}
|
||||
- ${{ inputs.file }}
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
set -eu
|
||||
|
||||
echo $2
|
||||
|
||||
if [ $# -eq 0 ]
|
||||
then
|
||||
bash <(curl -s https://codecov.io/bash)
|
||||
|
|
|
|||
Loading…
Reference in a new issue