Skip to content

Commit 0c07054

Browse files
author
Greg Bowler
authored
Group output on error (#32)
1 parent 91ff02a commit 0c07054

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ runs:
101101
ACTION_ARGS: ${{ inputs.args }}
102102
id: phpunit_run
103103
run: bash <(curl -s https://raw.githubusercontent.com/php-actions/php-build/330b13bbb1eadd05bbb627477c1549cd7e62e406/php-build.bash) phpunit \
104-
&& ${{ github.action_path }}/phpunit-action.bash || { cat ${{ github.workspace }}/output.log ; exit 1; }
104+
&& ${{ github.action_path }}/phpunit-action.bash || { echo "::group::Debug output" ; cat ${{ github.workspace }}/output.log ; echo "::endgroup::" ; exit 1; }
105105
shell: bash
106106

107107
branding:

0 commit comments

Comments
 (0)