diff --git a/read-action-input b/read-action-input index d12ee1c..67c71c2 100755 --- a/read-action-input +++ b/read-action-input @@ -1,6 +1,7 @@ #!/usr/bin/env bash # helper script for printing kebab-cased env vars. # e.g., "foo-bar" -> "INPUT_FOO-BAR". +set -eu -o pipefail arg=INPUT_${1^^} while IFS= read -r -d '' var; do