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:
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user