Skip to content
This repository was archived by the owner on Nov 12, 2022. It is now read-only.

Commit 6b14634

Browse files
fix: Workaround GitHub args quoting as a single string
1 parent 2e13a5e commit 6b14634

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

entrypoint-github.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ set -e
55
export HOME=/cli # To overwrite GitHub run command
66

77
cd $HOME
8-
response=$(/cli/entrypoint.sh "$1" "${@:2}" | jq --compact-output)
8+
IFS=" " read -r -a args <<< "$@"
9+
response=$(/cli/entrypoint.sh "${args[@]}" | jq --compact-output)
910
echo "::set-output name=output::$response"

0 commit comments

Comments
 (0)