Skip to content

Commit 52a412f

Browse files
committed
subshells don't work for this
1 parent 6e2e832 commit 52a412f

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/actions/configure-gentoo/action.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ runs:
1111
steps:
1212
- shell: bash
1313
run: |
14+
func oops() {
15+
echo "::group::Show config.log"
16+
cat config.log
17+
echo "::endgroup::"
18+
}
19+
trap oops ERR
1420
set -x
1521
./buildconf --force
1622
./configure \
@@ -76,9 +82,4 @@ runs:
7682
--with-config-file-scan-dir=/etc/php.d \
7783
${{ inputs.skipSlow == 'false' && '--with-pdo-dblib' || '' }} \
7884
--enable-werror \
79-
${{ inputs.configurationParameters }} \
80-
|| (echo
81-
echo "::group::Show config.log"
82-
cat config.log
83-
echo "::endgroup::"
84-
exit 1)
85+
${{ inputs.configurationParameters }}

0 commit comments

Comments
 (0)