Skip to content

Commit 74f6a41

Browse files
author
Greg Bowler
committed
Silence
1 parent 0136074 commit 74f6a41

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
@@ -2,15 +2,15 @@
22
set -e
33
github_action_path=$(dirname "$0")
44
docker_tag=$(cat ./docker_tag)
5-
echo "Docker tag: $docker_tag"
5+
echo "Docker tag: $docker_tag" >> output.log 2>&1
66

77
phar_url="https://phar.phpunit.de/phpunit"
88
if [ "$ACTION_VERSION" != "latest" ]
99
then
1010
phar_url="${phar_url}-${ACTION_VERSION}"
1111
fi
1212
phar_url="${phar_url}.phar"
13-
curl -H "User-agent: cURL (https://github.com/php-actions)" -L "$phar_url" > "${github_action_path}/phpunit.phar"
13+
curl --silent -H "User-agent: cURL (https://github.com/php-actions)" -L "$phar_url" > "${github_action_path}/phpunit.phar"
1414
chmod +x "${github_action_path}/phpunit.phar"
1515

1616
command_string=("phpunit")
@@ -85,7 +85,7 @@ then
8585
command_string+=("$ACTION_ARGS")
8686
fi
8787

88-
echo "Command: " "${command_string[@]}"
88+
echo "Command: " "${command_string[@]}" >> output.log 2>&1
8989
docker run --rm \
9090
--volume "${github_action_path}/phpunit.phar":/usr/local/bin/phpunit \
9191
--volume "${GITHUB_WORKSPACE}":/app \

0 commit comments

Comments
 (0)