From d96493625e77fd53329caa52bb85abfd0005250d Mon Sep 17 00:00:00 2001 From: Chih-Hsuan Yen <645432-yan12125@users.noreply.gitlab.com> Date: Mon, 15 Jul 2024 16:55:12 +0800 Subject: [PATCH] try --- .github/workflows/ci.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5b868d4..9f56cb4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,12 +39,7 @@ jobs: brew update brew install libchewing qt@5 - # Qt - brew link --force qt@5 - # Homebrew does not link mkspecs and plugins https://github.com/Homebrew/homebrew-core/issues/93056 - export HOMEBREW_QT5_VERSION=$(brew list --versions qt@5 | rev | cut -d' ' -f1 | rev) - sudo ln -s /opt/homebrew/Cellar/qt@5/$HOMEBREW_QT5_VERSION/mkspecs /opt/homebrew/mkspecs - sudo ln -s /opt/homebrew/Cellar/qt@5/$HOMEBREW_QT5_VERSION/plugins /opt/homebrew/plugins + echo "CMAKE_PREFIX_PATH=$(brew --prefix qt@5)" >> $GITHUB_ENV if: ${{ matrix.os == 'macos-latest' }} - name: Configure CMake