Skip to content

Commit 9540c07

Browse files
committed
Fix CI: Add pipefail to catch brew install failures
The install step was succeeding even when brew failed because the pipe to tee was masking the exit code. This prevented the "Display error logs on failure" step from running. Added `set -o pipefail` to ensure that when brew install fails, the step fails and triggers the error log display, which includes the Cantera config.log that will show why the cmath header check is failing.
1 parent ee8d3e0 commit 9540c07

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/homebrew.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ jobs:
4444
4545
- name: Install MFC from formula
4646
run: |
47+
set -o pipefail # Ensure pipe failures are caught
4748
echo "Creating temporary local tap..."
4849
brew tap-new mflowcode/test
4950

0 commit comments

Comments
 (0)