From 07a899413a8239a52afb28b689db6dc3c8a6f52c Mon Sep 17 00:00:00 2001 From: PatTheMav Date: Wed, 29 Jul 2020 20:30:57 +0200 Subject: [PATCH] CI: Fix Brew Bundler breaking without prior brew update --- .github/workflows/main.yml | 1 + CI/full-build-macos.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f55c32223..90e4a8fb6 100644 --- a/.github/workflows/main.yml +++ b/.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 diff --git a/CI/full-build-macos.sh b/CI/full-build-macos.sh index c50c87f4c..f7cab665a 100755 --- a/CI/full-build-macos.sh +++ b/CI/full-build-macos.sh @@ -103,6 +103,7 @@ install_homebrew_deps() { exit 1 fi + brew update brew bundle --file ${CI_SCRIPTS}/Brewfile }