From 825da246e6c54859af4d89698ce33027ccd2cbc3 Mon Sep 17 00:00:00 2001 From: Greg Bowler Date: Mon, 7 Jun 2021 16:13:18 +0100 Subject: [PATCH] Group output on error --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 0577643..11c57db 100644 --- a/action.yml +++ b/action.yml @@ -101,7 +101,7 @@ runs: ACTION_ARGS: ${{ inputs.args }} id: phpunit_run run: bash <(curl -s https://raw.githubusercontent.com/php-actions/php-build/330b13bbb1eadd05bbb627477c1549cd7e62e406/php-build.bash) phpunit \ - && ${{ github.action_path }}/phpunit-action.bash || { cat ${{ github.workspace }}/output.log ; exit 1; } + && ${{ github.action_path }}/phpunit-action.bash || { echo "::group::Debug output" ; cat ${{ github.workspace }}/output.log ; echo "::endgroup::" ; exit 1; } shell: bash branding: