File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ echo "Docker tag: $docker_tag" >> output.log 2>&1
66
77if [ " $ACTION_VERSION " = " composer" ]
88then
9- VENDOR_BIN=" vendor/bin/phpstan.phar "
9+ VENDOR_BIN=" vendor/bin/phpstan"
1010 if test -f " $VENDOR_BIN "
1111 then
1212 ACTION_PHPSTAN_PATH=" $VENDOR_BIN "
2323 curl --silent -H " User-agent: cURL (https://github.com/php-actions)" -L " $phar_url " > " $phar_path "
2424else
2525 phar_path=" ${GITHUB_WORKSPACE} /$ACTION_PHPSTAN_PATH "
26- echo " PHAR path: $phar_path "
2726fi
2827
2928chmod +x " $phar_path "
@@ -107,6 +106,7 @@ echo "Command: " "${command_string[@]}" >> output.log 2>&1
107106
108107docker run --rm \
109108 --volume " $phar_path " :/usr/local/bin/phpstan \
109+ --volume " ${GITHUB_WORKSPACE} /vendor/phpstan:/usr/local/phpstan" \
110110 --volume " ${GITHUB_WORKSPACE} " :/app \
111111 --workdir /app \
112112 --env-file ./DOCKER_ENV \
You can’t perform that action at this time.
0 commit comments