浏览代码

CI: Fix Brew Bundler breaking without prior brew update

PatTheMav 5 年之前
父节点
当前提交
07a899413a
共有 2 个文件被更改,包括 2 次插入0 次删除
  1. 1 0
      .github/workflows/main.yml
  2. 1 0
      CI/full-build-macos.sh

+ 1 - 0
.github/workflows/main.yml

@@ -49,6 +49,7 @@ jobs:
       - name: 'Install prerequisites (Homebrew)'
         shell: bash
         run: |
+          brew update --preinstall
           brew bundle --file ./CI/scripts/macos/Brewfile
       - name: 'Restore Chromium Embedded Framework from cache'
         id: cef-cache

+ 1 - 0
CI/full-build-macos.sh

@@ -103,6 +103,7 @@ install_homebrew_deps() {
         exit 1
     fi
 
+    brew update
     brew bundle --file ${CI_SCRIPTS}/Brewfile
 }