From a4d9fde159dc90bf5700cc7a0f5493ce5553947b Mon Sep 17 00:00:00 2001 From: Andrew Olsen Date: Fri, 6 Sep 2024 11:37:26 +1200 Subject: [PATCH] Try fixing the macos build --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b904bf27..160672df 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -838,9 +838,11 @@ jobs: path: ${{ env.CCACHE_DIR }} key: vendor-ccache-${{ matrix.os.id }}-vcpkg + # The brew install command sometimes fails on the first try but succeeds on the second :-/ - name: "setup: misc" run: | - brew install -q autoconf automake ccache libtool openssl pandoc pkg-config + PACKAGES="autoconf automake ccache libtool openssl pandoc pkg-config" + brew install -q $PACKAGES || brew install -q $PACKAGES mkdir -p ${{ env.CCACHE_DIR }} echo "$(brew --prefix)/opt/ccache/libexec" >> $GITHUB_PATH