diff --git a/check_inputs.sh b/check_inputs.sh index 90595c0..bc5d4f1 100755 --- a/check_inputs.sh +++ b/check_inputs.sh @@ -4,6 +4,10 @@ set -o errexit # abort on nonzero exit status set -o nounset # abort on unbound variable set -o pipefail # don't hide errors within pipes +if [[ $# -ne 2 ]]; then + echo "::error::Illegal number of parameters" +fi + IG_PUBLISHER_VERSION=$1 SUSHI_VERSION=$2