Skip to content

Commit

Permalink
Group output on error (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
g105b authored Jun 7, 2021
1 parent 91ff02a commit 0c07054
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0c07054

Please sign in to comment.