add file path param

This commit is contained in:
“ibrahim0814”
2019-08-07 10:51:41 -07:00
parent 72a27786b2
commit caffaa27c7
2 changed files with 6 additions and 0 deletions

View File

@@ -5,6 +5,9 @@ inputs:
token: token:
description: 'Set the repository token' description: 'Set the repository token'
required: false required: false
file:
description: 'Path to coverage file'
required: false
branding: branding:
color: 'red' color: 'red'
icon: 'umbrella' icon: 'umbrella'
@@ -13,3 +16,4 @@ runs:
image: 'Dockerfile' image: 'Dockerfile'
args: args:
- ${{ inputs.token }} - ${{ inputs.token }}
- ${{ inputs.file }}

View File

@@ -2,6 +2,8 @@
set -eu set -eu
echo $2
if [ $# -eq 0 ] if [ $# -eq 0 ]
then then
bash <(curl -s https://codecov.io/bash) bash <(curl -s https://codecov.io/bash)