Skip to content

Commit 4c3b011

Browse files
author
Greg Bowler
committed
Try without double quotes
1 parent 3409f96 commit 4c3b011

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

phpunit-action.bash

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ command_string=("phpunit")
1717

1818
if [ -n "$ACTION_CONFIGURATION" ]
1919
then
20-
command_string+=("--configuration '$ACTION_CONFIGURATION'")
20+
command_string+=(--configuration "$ACTION_CONFIGURATION")
2121
fi
2222

2323
if [ -n "$ACTION_LOG_JUNIT" ]
@@ -85,9 +85,9 @@ then
8585
command_string+=("$ACTION_ARGS")
8686
fi
8787

88-
echo "Command: " "${command_string[*]}"
88+
echo "Command: " "${command_string[@]}"
8989
docker run --rm \
9090
--volume "${github_action_path}/phpunit.phar":/usr/local/bin/phpunit \
9191
--volume "${GITHUB_WORKSPACE}":/app \
9292
--workdir /app \
93-
${docker_tag} ${command_string[*]}
93+
${docker_tag} "${command_string[@]}"

0 commit comments

Comments
 (0)