From 90f92ffae9680b601d01945bec12a0ba2a2eeea1 Mon Sep 17 00:00:00 2001 From: wh201906 Date: Mon, 11 Mar 2024 13:39:18 +0800 Subject: [PATCH] Update macOS CI Upgrade packages before building Ignore errors in `brew upgrade` and `brew install qt@5`, but show a warning message --- .github/workflows/build-macos.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml index 29054ac..1538021 100644 --- a/.github/workflows/build-macos.yml +++ b/.github/workflows/build-macos.yml @@ -32,7 +32,8 @@ jobs: - name: Install Qt run: | brew update - brew install qt@5 + brew upgrade || echo '::warning::"brew upgrade" failed. Please check the log to see if the artifact is valid.' + brew install qt@5 || echo '::warning::"brew install qt@5" failed. Please check the log to see if the artifact is valid.' brew link qt5 --force - name: Create build directory