Skip to content

Commit

Permalink
feature: simplify error output
Browse files Browse the repository at this point in the history
  • Loading branch information
g105b committed Nov 10, 2022
1 parent 726dcd6 commit b44ff70
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,10 @@ runs:
ACTION_WORKING_DIR: ${{ inputs.working_dir }}
ACTION_MEMORY_LIMIT: ${{ inputs.memory_limit }}
id: composer_run
run: bash <(curl -s https://raw.githubusercontent.com/php-actions/php-build/330b13bbb1eadd05bbb627477c1549cd7e62e406/php-build.bash) composer \
&& ${{ github.action_path }}/composer-action.bash || { echo "::group::Debug output" ; cat ${{ github.workspace }}/output.log ; echo "::endgroup::" ; exit 1; }
run: |
set -e
bash <(curl -s https://raw.githubusercontent.com/php-actions/php-build/cee5b9fa9fbc4c888e7a62bbb7b8eade18e3c56b/php-build.bash) composer
${{ github.action_path }}/composer-action.bash || cat ${{ github.workspace }}/output.log
shell: bash

branding:
Expand Down

0 comments on commit b44ff70

Please sign in to comment.