Skip to content

Commit 4b70d79

Browse files
author
Greg Bowler
committed
debug: output phar path
1 parent f895d61 commit 4b70d79

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

phpunit-action.bash

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,17 @@ then
1313
phar_url="${phar_url}-${ACTION_VERSION}"
1414
fi
1515
phar_url="${phar_url}.phar"
16+
echo "output_log=Using phar url $phar_url"
1617
curl --silent -H "User-agent: cURL (https://github.com/php-actions)" -L "$phar_url" > "${github_action_path}/phpunit.phar"
1718

1819
phar_path="${github_action_path}/phpunit.phar"
1920
else
2021
phar_path="${GITHUB_WORKSPACE}/$ACTION_PHPUNIT_PATH"
21-
echo "output_log=Using vendored phpunit: $phar_path"
22+
echo "output_log=Using vendored phpunit"
2223
fi
2324

24-
chmod +x "${github_action_path}/phpunit.phar"
25+
echo "output_log=phar_path=$phar_path"
26+
chmod +x $phar_path
2527
command_string=("phpunit")
2628

2729
if [ -n "$ACTION_CONFIGURATION" ]

0 commit comments

Comments
 (0)