From 5ee11a95ffbf194a73d1bea300a35f5d6250d203 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Mon, 12 Aug 2019 17:44:02 +0900 Subject: Roughly retry `brew update` on GitHub Actions because it has failed often on Travis. --- .github/workflows/macos.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 67969a391e..04d8c08bac 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -19,7 +19,7 @@ jobs: sudo /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate - name: Install libraries run: | - brew update + timeout 300 brew update || timeout 300 brew update || timeout 300 brew update brew install gdbm gmp libffi openssl@1.1 zlib ccache autoconf automake libtool readline - name: Checkout # not using actions/checkout because it's unstable. run: git clone --depth=50 https://github.com/ruby/ruby . -- cgit v1.2.3