Action logs in email notification


Is there a way to include the logs from a failed step in the email body?

use case:

I have a step that run PHPCS before building a docker images to make sure the code is good. If that step fails id like to review the PHPCS logs in the notification so my developer can easily see what needs to be fixed.