File tree Expand file tree Collapse file tree 1 file changed +6
-17
lines changed
Expand file tree Collapse file tree 1 file changed +6
-17
lines changed Original file line number Diff line number Diff line change 7474
7575echo " ::debug::PHPMD Command: ${command_string[@]} "
7676
77- if [ -z " $ACTION_PHPMD_PATH " ]
78- then
79- docker run --rm \
80- --volume " ${phar_path} " :/usr/local/bin/phpmd \
81- --volume " ${GITHUB_WORKSPACE} " :/app \
82- --workdir /app \
83- --network host \
84- --env-file <( env| cut -f1 -d= ) \
85- ${docker_tag} " ${command_string[@]} " && echo " PHPMD completed successfully"
86- else
87- docker run --rm \
88- --volume " ${GITHUB_WORKSPACE} " :/app \
89- --workdir /app \
90- --network host \
91- --env-file <( env| cut -f1 -d= ) \
92- ${docker_tag} " /app/${command_string[@]} " && echo " PHPMD completed successfully"
93- fi
77+ docker run --rm \
78+ --volume " ${GITHUB_WORKSPACE} " :/app \
79+ --workdir /app \
80+ --network host \
81+ --env-file <( env| cut -f1 -d= ) \
82+ ${docker_tag} " /app/${command_string[@]} " && echo " PHPMD completed successfully"
You can’t perform that action at this time.
0 commit comments