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
6
6
7
7
if [ " $ACTION_VERSION " = " composer" ]
8
8
then
9
- VENDOR_BIN=" vendor/bin/phpstan.phar "
9
+ VENDOR_BIN=" vendor/bin/phpstan"
10
10
if test -f " $VENDOR_BIN "
11
11
then
12
12
ACTION_PHPSTAN_PATH=" $VENDOR_BIN "
23
23
curl --silent -H " User-agent: cURL (https://github.com/php-actions)" -L " $phar_url " > " $phar_path "
24
24
else
25
25
phar_path=" ${GITHUB_WORKSPACE} /$ACTION_PHPSTAN_PATH "
26
- echo " PHAR path: $phar_path "
27
26
fi
28
27
29
28
chmod +x " $phar_path "
@@ -107,6 +106,7 @@ echo "Command: " "${command_string[@]}" >> output.log 2>&1
107
106
108
107
docker run --rm \
109
108
--volume " $phar_path " :/usr/local/bin/phpstan \
109
+ --volume " ${GITHUB_WORKSPACE} /vendor/phpstan:/usr/local/phpstan" \
110
110
--volume " ${GITHUB_WORKSPACE} " :/app \
111
111
--workdir /app \
112
112
--env-file ./DOCKER_ENV \
You can’t perform that action at this time.
0 commit comments