Browse Source

CI: Fix Brew Bundler breaking without prior brew update

PatTheMav 5 years ago
parent
commit
07a899413a
2 changed files with 2 additions and 0 deletions
  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
 }