From 23b1c7d74d93ef24e9419cde57fee5e8e1cc9c1a Mon Sep 17 00:00:00 2001 From: Hong Chen Date: Wed, 19 Jun 2024 10:03:14 -0500 Subject: [PATCH] Updated the MacOS CI workflow so that bash won't exit with brew upgrade exits with non-zero exit code. --- .github/workflows/test_macos.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test_macos.yml b/.github/workflows/test_macos.yml index e07f4e45..d232eadf 100644 --- a/.github/workflows/test_macos.yml +++ b/.github/workflows/test_macos.yml @@ -23,6 +23,8 @@ jobs: - name: Install dependencies run: | # sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.15.pkg -target / + brew update + brew upgrade || true brew install --cask xquartz brew install udunits openmotif maven brew install swig