diff --git a/entrypoint.sh b/entrypoint.sh index 5cb8ea0..5f2a6fe 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -4,8 +4,8 @@ set -eu if [ $# -eq 0 ] then - echo "No arguments supplied. Please make sure to provide an upload token" - exit 1 + bash <(curl -s https://codecov.io/bash) +else + bash <(curl -s https://codecov.io/bash) -t $1 fi -bash <(curl -s https://codecov.io/bash) -t $1 \ No newline at end of file