diff --git a/action.yml b/action.yml index f877748..e5f5c30 100644 --- a/action.yml +++ b/action.yml @@ -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 }} diff --git a/entrypoint.sh b/entrypoint.sh index 5f2a6fe..43cdb02 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -2,6 +2,8 @@ set -eu +echo $2 + if [ $# -eq 0 ] then bash <(curl -s https://codecov.io/bash)