add debug echo statements

This commit is contained in:
“ibrahim0814”
2019-08-07 11:41:02 -07:00
parent 0be151486e
commit 052454207d

View File

@@ -4,15 +4,19 @@ 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