Skip to content

Commit b44ff70

Browse files
author
Greg Bowler
committed
feature: simplify error output
1 parent 726dcd6 commit b44ff70

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

action.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,10 @@ runs:
100100
ACTION_WORKING_DIR: ${{ inputs.working_dir }}
101101
ACTION_MEMORY_LIMIT: ${{ inputs.memory_limit }}
102102
id: composer_run
103-
run: bash <(curl -s https://raw.githubusercontent.com/php-actions/php-build/330b13bbb1eadd05bbb627477c1549cd7e62e406/php-build.bash) composer \
104-
&& ${{ github.action_path }}/composer-action.bash || { echo "::group::Debug output" ; cat ${{ github.workspace }}/output.log ; echo "::endgroup::" ; exit 1; }
103+
run: |
104+
set -e
105+
bash <(curl -s https://raw.githubusercontent.com/php-actions/php-build/cee5b9fa9fbc4c888e7a62bbb7b8eade18e3c56b/php-build.bash) composer
106+
${{ github.action_path }}/composer-action.bash || cat ${{ github.workspace }}/output.log
105107
shell: bash
106108

107109
branding:

0 commit comments

Comments
 (0)