mirror of
https://github.com/codecov/codecov-action.git
synced 2025-12-08 16:16:24 +00:00
set error check
This commit is contained in:
@@ -4,4 +4,10 @@ set -eu
|
|||||||
|
|
||||||
#echo $1
|
#echo $1
|
||||||
|
|
||||||
|
if [ -z "$1" ]
|
||||||
|
then
|
||||||
|
echo "No token supplied"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
bash <(curl -s https://codecov.io/bash) -t $1
|
bash <(curl -s https://codecov.io/bash) -t $1
|
||||||
Reference in New Issue
Block a user