Github Actions sets -e on the shell by default making it exit immediately on an error.
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
This prevented us from getting useful error information from an oclif command in GHA. Temporarily setting +e allows us to get the error json to parse later.
Github Actions sets -e on the shell by default making it exit immediately on an error.
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
This prevented us from getting useful error information from an oclif command in GHA. Temporarily setting
+e
allows us to get the error json to parse later.Example of this working: https://github.com/iowillhoit/gha-sandbox/actions/runs/9406451924/job/25909919754
[skip-validate-pr]