Skip to content

Commit c0b8261

Browse files
committed
Try fixing the macos build
1 parent 6d3355e commit c0b8261

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -838,9 +838,11 @@ jobs:
838838
path: ${{ env.CCACHE_DIR }}
839839
key: vendor-ccache-${{ matrix.os.id }}-vcpkg
840840

841+
# The brew install command sometimes fails on the first try but succeeds on the second :-/
841842
- name: "setup: misc"
842843
run: |
843-
brew install -q autoconf automake ccache libtool openssl pandoc pkg-config
844+
PACKAGES=(autoconf automake ccache libtool openssl pandoc pkg-config)
845+
brew install -q $PACKAGES || brew install -q $PACKAGES
844846
mkdir -p ${{ env.CCACHE_DIR }}
845847
echo "$(brew --prefix)/opt/ccache/libexec" >> $GITHUB_PATH
846848

0 commit comments

Comments
 (0)