mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-13 14:37:24 +00:00
add debug echo statements
This commit is contained in:
parent
0be151486e
commit
052454207d
1 changed files with 5 additions and 1 deletions
|
|
@ -4,15 +4,19 @@ set -eu
|
||||||
|
|
||||||
if [ $# -eq 0 ]
|
if [ $# -eq 0 ]
|
||||||
then
|
then
|
||||||
bash <(curl -s https://codecov.io/bash)
|
echo "inside first if"
|
||||||
|
bash <(curl -s https://codecov.io/bash)
|
||||||
elif [ "x$INPUT_TOKEN" == "x" ] && [ "x$INPUT_FILE" == "x" ]
|
elif [ "x$INPUT_TOKEN" == "x" ] && [ "x$INPUT_FILE" == "x" ]
|
||||||
then
|
then
|
||||||
|
echo "inside both"
|
||||||
bash <(curl -s https://codecov.io/bash) -t $INPUT_TOKEN -f $INPUT_FILE
|
bash <(curl -s https://codecov.io/bash) -t $INPUT_TOKEN -f $INPUT_FILE
|
||||||
elif [ "x$INPUT_TOKEN" == "x" ]
|
elif [ "x$INPUT_TOKEN" == "x" ]
|
||||||
then
|
then
|
||||||
|
echo "inside token"
|
||||||
bash <(curl -s https://codecov.io/bash) -t $INPUT_TOKEN
|
bash <(curl -s https://codecov.io/bash) -t $INPUT_TOKEN
|
||||||
elif [ "x$INPUT_FILE" == "x" ]
|
elif [ "x$INPUT_FILE" == "x" ]
|
||||||
then
|
then
|
||||||
|
echo "inside file"
|
||||||
bash <(curl -s https://codecov.io/bash) -f $INPUT_FILE
|
bash <(curl -s https://codecov.io/bash) -f $INPUT_FILE
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue