File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -6,20 +6,19 @@ echo "output_log=Docker tag: $docker_tag"
6
6
7
7
if [ -z " $ACTION_PHPUNIT_PATH " ]
8
8
then
9
- echo " output_log=Using phar"
10
9
phar_url=" https://phar.phpunit.de/phpunit"
11
10
if [ " $ACTION_VERSION " != " latest" ]
12
11
then
13
12
phar_url=" ${phar_url} -${ACTION_VERSION} "
14
13
fi
15
14
phar_url=" ${phar_url} .phar"
16
15
echo " output_log=Using phar url $phar_url "
17
- curl --silent -H " User-agent: cURL (https://github.com/php-actions)" -L " $phar_url " > " ${github_action_path} /phpunit.phar"
18
16
19
17
phar_path=" ${github_action_path} /phpunit.phar"
18
+ curl -H " User-agent: cURL (https://github.com/php-actions)" -L " $phar_url " > " $phar_path "
20
19
else
21
- phar_path=" ${GITHUB_WORKSPACE} /$ACTION_PHPUNIT_PATH "
22
20
echo " output_log=Using vendored phpunit"
21
+ phar_path=" ${GITHUB_WORKSPACE} /$ACTION_PHPUNIT_PATH "
23
22
fi
24
23
25
24
echo " output_log=phar_path=$phar_path "
You can’t perform that action at this time.
0 commit comments