mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-08 03:57:26 +00:00
manage file uploads
This commit is contained in:
parent
6905df41d5
commit
c1b452a1b8
1 changed files with 0 additions and 4 deletions
|
|
@ -4,19 +4,15 @@ set -eu
|
|||
|
||||
if [ $# -eq 0 ]
|
||||
then
|
||||
echo "inside first if"
|
||||
bash <(curl -s https://codecov.io/bash)
|
||||
elif [ "x$INPUT_TOKEN" != "x" ] && [ "x$INPUT_FILE" != "x" ]
|
||||
then
|
||||
echo "inside both"
|
||||
bash <(curl -s https://codecov.io/bash) -t $INPUT_TOKEN -f $INPUT_FILE
|
||||
elif [ "x$INPUT_TOKEN" != "x" ]
|
||||
then
|
||||
echo "inside token"
|
||||
bash <(curl -s https://codecov.io/bash) -t $INPUT_TOKEN
|
||||
elif [ "x$INPUT_FILE" != "x" ]
|
||||
then
|
||||
echo "inside file"
|
||||
bash <(curl -s https://codecov.io/bash) -f $INPUT_FILE
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue