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:
1 parent
49af0bf631
commit
84272b4725
1 file changed
+13
@@ -136,6 +136,19 @@ jobs:
|
|||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
needs: release
|
needs: release
|
||||||
steps:
|
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
|
- name: Brew doctor
|
||||||
run: brew doctor
|
run: brew doctor
|
||||||
- name: Brew config
|
- name: Brew config
|
||||||
|
|||||||
Reference in new issue
Block a user