From 652da8e1ec706da092ca07014cd24710f78e5bf7 Mon Sep 17 00:00:00 2001 From: shenleban tongying Date: Sun, 17 Nov 2024 22:07:37 -0500 Subject: [PATCH] action: update brew before running macOS workflows --- .github/workflows/PR-check-cmake.yml | 7 +++++-- .github/workflows/Release-all.yml | 6 +++++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/PR-check-cmake.yml b/.github/workflows/PR-check-cmake.yml index 5a7d48fd..7d55c488 100644 --- a/.github/workflows/PR-check-cmake.yml +++ b/.github/workflows/PR-check-cmake.yml @@ -51,6 +51,9 @@ jobs: - uses: actions/checkout@v4 with: submodules: false + - name: Update brew + run: | + brew update - name: Install dependencies run: | brew install \ @@ -66,11 +69,11 @@ jobs: xapian \ libzim \ qt - + - name: Install eb + run: | wget https://github.com/mistydemeo/eb/releases/download/v4.4.3/eb-4.4.3.tar.bz2 tar xvjf eb-4.4.3.tar.bz2 cd eb-4.4.3 && ./configure && make -j 8 && sudo make install && cd .. - - name: Run build run: | mkdir build_dir diff --git a/.github/workflows/Release-all.yml b/.github/workflows/Release-all.yml index 18ca0d3f..a18dbd23 100644 --- a/.github/workflows/Release-all.yml +++ b/.github/workflows/Release-all.yml @@ -26,6 +26,9 @@ jobs: - uses: actions/checkout@v4 with: submodules: true + - name: Update brew + run: | + brew update - name: Install dependencies run: | brew install \ @@ -40,7 +43,8 @@ jobs: ninja \ opencc \ xapian - + - name: Install eb + run: | git clone https://github.com/xiaoyifang/eb.git cd eb && ./configure && make -j 8 && sudo make install && cd .. - uses: jurplel/install-qt-action@v4