fix: correct errors in brew doctor output when making a formula release

The default homebrew setup with the macos-latest runners has issues that cause `brew doctor` to exit non-zero. The exit codes of the commands are ignored in case they are no longer necessary in the future.
This commit is contained in:
Jose Diaz-Gonzalez
2024-11-03 14:22:31 -05:00
committed by GitHub
parent 49af0bf631
commit 84272b4725

View File

@@ -136,6 +136,19 @@ jobs:
runs-on: macos-latest
needs: release
steps:
- name: Brew doctor
run: |
brew doctor || true
- name: Brew cleanup
run: |
echo "====> Untapping homebrew/core"
brew untap homebrew/core || true
echo "====> Untapping homebrew/cask"
brew untap homebrew/cask || true
echo "====> Uninstalling openssl@1.1"
brew uninstall openssl@1.1 || true
echo "====> Uninstalling ruby@3.0"
brew uninstall ruby@3.0 || true
- name: Brew doctor
run: brew doctor
- name: Brew config