Commit 6bd6b2b
committed
Fix macOS build failures by making brew uninstall commands non-fatal
The jarbuild workflow was failing on macOS because it tried to uninstall
Homebrew formulas that don't exist or aren't installed:
- aws-sdk-cpp (may not be installed)
- re2 (may not be installed)
- protobuf (may not be installed)
These uninstall commands were failing with exit code 1, causing the entire
build to fail. By adding '|| :' to these commands, we make them non-fatal
so the build can continue even if the formulas aren't installed.
The grpc and [email protected] uninstall commands already had '|| :' and were
working correctly.1 parent 193c85a commit 6bd6b2b
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
249 | | - | |
| 249 | + | |
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
255 | | - | |
| 255 | + | |
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
260 | | - | |
| 260 | + | |
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
| |||
0 commit comments