mirror of
https://github.com/subosito/flutter-action.git
synced 2024-08-16 10:19:50 +02:00
try to print to stderr
This commit is contained in:
parent
3d80492992
commit
df08b82200
1 changed files with 4 additions and 2 deletions
6
setup.sh
6
setup.sh
|
@ -2,9 +2,11 @@
|
|||
set -eu
|
||||
|
||||
check_command() {
|
||||
command -v "$1" >/dev/null 2>&1
|
||||
command -v "$1" >/dev/null
|
||||
}
|
||||
|
||||
printf "hello from setup.sh\n" 1>&2
|
||||
|
||||
if ! check_command jq; then
|
||||
echo "jq not found. Install it from https://stedolan.github.io/jq"
|
||||
exit 1
|
||||
|
@ -104,7 +106,7 @@ done
|
|||
|
||||
if [ -n "$VERSION_FILE" ]; then
|
||||
if [ -n "$VERSION" ]; then
|
||||
echo "Cannot specify both a version and a version file"
|
||||
echo "Cannot specify both a version and a version file" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue