-
@tomasz_q The example in the screenshot isn't very good. Here is a "real world" example: github.com/stefanzweifel/php-changelog-updater/blob/e3f1a768dcc650a372a789735463491cc64a71c3/app/Commands/UpdateCommand.php#L49-L73 CLI does stuff, if exceptions are thrown a warning/error is displayed and the return status changes. But it will always output related to GitHub Actions.
-
@tomasz_q This could probably solved differently too, but I really liked the pattern here. I can put messages in the GitHub Actions "bag" and the CLI will *always* render it, even if the CLI action failed.