File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 22set -e
33github_action_path=$( dirname " $0 " )
44docker_tag=$( cat ./docker_tag)
5- echo " Docker tag: $docker_tag "
5+ echo " Docker tag: $docker_tag " >> output.log 2>&1
66
77phar_url=" https://phar.phpunit.de/phpunit"
88if [ " $ACTION_VERSION " != " latest" ]
99then
1010 phar_url=" ${phar_url} -${ACTION_VERSION} "
1111fi
1212phar_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"
1414chmod +x " ${github_action_path} /phpunit.phar"
1515
1616command_string=(" phpunit" )
8585 command_string+=(" $ACTION_ARGS " )
8686fi
8787
88- echo " Command: " " ${command_string[@]} "
88+ echo " Command: " " ${command_string[@]} " >> output.log 2>&1
8989docker run --rm \
9090 --volume " ${github_action_path} /phpunit.phar" :/usr/local/bin/phpunit \
9191 --volume " ${GITHUB_WORKSPACE} " :/app \
You can’t perform that action at this time.
0 commit comments