mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-16 16:01:44 +00:00
no token required conditional
This commit is contained in:
parent
83134b4d62
commit
954f2171b8
1 changed files with 3 additions and 3 deletions
|
|
@ -4,8 +4,8 @@ set -eu
|
||||||
|
|
||||||
if [ $# -eq 0 ]
|
if [ $# -eq 0 ]
|
||||||
then
|
then
|
||||||
echo "No arguments supplied. Please make sure to provide an upload token"
|
bash <(curl -s https://codecov.io/bash)
|
||||||
exit 1
|
else
|
||||||
|
bash <(curl -s https://codecov.io/bash) -t $1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
bash <(curl -s https://codecov.io/bash) -t $1
|
|
||||||
Loading…
Reference in a new issue