mirror of
https://github.com/codecov/codecov-action.git
synced 2026-04-09 18:11:53 +08:00
21 lines
336 B
Bash
21 lines
336 B
Bash
#!/bin/bash
|
|
|
|
set -eu
|
|
|
|
|
|
echo $INPUT_FILE
|
|
|
|
if [ "x$INPUT_FILE" == "x" ] || [ "x$INPUT_TOKEN" == "x" ];
|
|
then
|
|
echo "some variables are null"
|
|
fi
|
|
|
|
|
|
if [ $# -eq 0 ]
|
|
then
|
|
bash <(curl -s https://codecov.io/bash)
|
|
else
|
|
bash <(curl -s https://codecov.io/bash) -t $1
|
|
fi
|
|
|