diff --git a/entrypoint.sh b/entrypoint.sh index 4afcda7..5afc478 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -2,10 +2,7 @@ set -e -text=${INPUT_TEXT} -regex=${INPUT_REGEX} - -if echo "${text}" | grep -Eq "${regex}"; then +if echo "${INPUT_TEXT}" | grep -Eq "${INPUT_REGEX}"; then echo "::set-output name=match::true" exit 0 fi