mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-13 06:27: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:
|
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 }}
|
||||||
|
|
|
||||||
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue