GHActions:MacOS: Don't fail on failed brew unlink

If brew can't unlink them, they're not there and there's no need to do anything
This commit is contained in:
TellowKrinkle 2022-08-10 04:03:33 -05:00 committed by tellowkrinkle
parent 8f367abe0b
commit 8b375d66fa
1 changed files with 2 additions and 1 deletions

View File

@ -58,7 +58,8 @@ jobs:
HOMEBREW_NO_INSTALL_CLEANUP: 1
HOMEBREW_NO_ANALYTICS: 1
run: |
brew unlink libjpeg libpng # Conflicts with our self-built dependencies
brew unlink libjpeg || true # Conflicts with our self-built dependencies
brew unlink libpng || true
# Unlike other packages, brew's MoltenVK build uses MoltenVK's minimum macOS version of 10.13 so we can use it
if ! brew install molten-vk; then
brew update