diff --git a/action.yml b/action.yml index 2b02a74..d973ffc 100644 --- a/action.yml +++ b/action.yml @@ -55,7 +55,7 @@ runs: - name: Parse arguments id: args shell: bash - run | + run: | prepend() { xargs -rn1 echo "$1" } toArray() { jq --raw-input | jq --slurp '.' } withFlag() { echo "$2" | prepend "--${1}" | toArray }