Skip to content

Commit b8cc1b6

Browse files
committed
add debug statements
1 parent 1cb9bf4 commit b8cc1b6

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

entrypoint.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,41 @@
22

33
set -eu
44

5+
echo $INPUT_FLAGS
6+
57
if [ $# -eq 0 ]
68
then
9+
echo "inside zero"
710
bash <(curl -s https://codecov.io/bash)
811
elif [ "x$INPUT_TOKEN" != "x" ] && [ "x$INPUT_FILE" != "x" ] && [ "x$INPUT_FLAGS" != "x" ]
912
then
13+
echo "inside 3"
1014
bash <(curl -s https://codecov.io/bash) -t $INPUT_TOKEN -f $INPUT_FILE -F $INPUT_FLAGS
1115
elif [ "x$INPUT_TOKEN" != "x" ] && [ "x$INPUT_FILE" != "x" ]
1216
then
17+
echo "inside token and file"
1318
bash <(curl -s https://codecov.io/bash) -t $INPUT_TOKEN -f $INPUT_FILE
1419
elif [ "x$INPUT_TOKEN" != "x" ] && [ "x$INPUT_FLAGS" != "x" ]
1520
then
21+
echo "inside token and flags"
1622
bash <(curl -s https://codecov.io/bash) -t $INPUT_TOKEN -F $INPUT_FLAGS
1723
elif [ "x$INPUT_FLAGS" != "x" ] && [ "x$INPUT_FILE" != "x" ]
1824
then
25+
echo "inside flags and file"
1926
bash <(curl -s https://codecov.io/bash) -F $INPUT_FLAGS -f $INPUT_FILE
2027
elif [ "x$INPUT_TOKEN" != "x" ]
2128
then
29+
echo "inside token"
2230
bash <(curl -s https://codecov.io/bash) -t $INPUT_TOKEN
2331
elif [ "x$INPUT_FILE" != "x" ]
2432
then
33+
echo "inside file"
2534
bash <(curl -s https://codecov.io/bash) -f $INPUT_FILE
2635
elif [ "x$INPUT_FLAGS" != "x" ]
2736
then
37+
echo "inside flags"
2838
bash <(curl -s https://codecov.io/bash) -F $INPUT_FLAGS
39+
else
40+
exit 1
2941
fi
3042

0 commit comments

Comments
 (0)