mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-15 15:31:44 +00:00
clean up comments
This commit is contained in:
parent
bd3230c275
commit
ee0d391ad0
2 changed files with 2 additions and 4 deletions
|
|
@ -1,5 +1,4 @@
|
||||||
# Codecov @codecov
|
# Codecov @codecov
|
||||||
# Ibrahim Ali @ibrahim0814
|
|
||||||
|
|
||||||
FROM alpine:3.10
|
FROM alpine:3.10
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,12 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Codecov @codecov
|
# Codecov @codecov
|
||||||
# Ibrahim Ali @ibrahim0814
|
|
||||||
|
|
||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
if [ $# -eq 0 ]
|
if [ $# -eq 0 ]
|
||||||
then
|
then
|
||||||
echo "Please provide an upload token"
|
echo "Please provide an upload token from codecov.io"
|
||||||
exit 1
|
exit 1
|
||||||
elif [ "x$INPUT_TOKEN" != "x" ] && [ "x$INPUT_FILE" != "x" ] && [ "x$INPUT_FLAGS" != "x" ] && [ "x$INPUT_NAME" != "x" ]
|
elif [ "x$INPUT_TOKEN" != "x" ] && [ "x$INPUT_FILE" != "x" ] && [ "x$INPUT_FLAGS" != "x" ] && [ "x$INPUT_NAME" != "x" ]
|
||||||
then
|
then
|
||||||
|
|
@ -34,6 +33,6 @@ elif [ "x$INPUT_TOKEN" != "x" ]
|
||||||
then
|
then
|
||||||
bash <(curl -s https://codecov.io/bash) -t $INPUT_TOKEN
|
bash <(curl -s https://codecov.io/bash) -t $INPUT_TOKEN
|
||||||
else
|
else
|
||||||
echo "Please provide an upload token and valid arguments"
|
echo "Please provide an upload token from codecov.io with valid arguments"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue