mirror of
https://github.com/codecov/codecov-action
synced 2026-09-07 20:03:43 +00:00
no token required conditional
This commit is contained in:
+3
-3
@@ -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
|
||||
Reference in New Issue
Block a user