mirror of
https://github.com/codecov/codecov-action.git
synced 2025-12-08 16:16:24 +00:00
add file path param
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user