Skip to content

Commit

Permalink
wip: add success output
Browse files Browse the repository at this point in the history
  • Loading branch information
g105b committed Feb 16, 2023
1 parent f81b0f3 commit 01365a4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions phpmd-action.bash
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,10 @@ then
command_string+=($ACTION_ARGS)
fi

echo "Command: ${command_string[@]}"

docker run --rm \
--volume "${phar_path}":/usr/local/bin/phpmd \
--volume "${GITHUB_WORKSPACE}":/app \
--workdir /app \
--network host \
--env-file <( env| cut -f1 -d= ) \
${docker_tag} "${command_string[@]}"
${docker_tag} "${command_string[@]}" && echo "PHPMD completed successfully"

0 comments on commit 01365a4

Please sign in to comment.