summaryrefslogtreecommitdiff
path: root/.github/workflows/macos.yml
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2019-08-12 17:44:02 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2019-08-12 17:44:03 +0900
commit5ee11a95ffbf194a73d1bea300a35f5d6250d203 (patch)
tree8546bad4f57d6b40abe9dab8cc6339e51a2fc025 /.github/workflows/macos.yml
parentd5250808e1e06c4af7d441971e29096426611ab0 (diff)
Roughly retry `brew update` on GitHub Actions
because it has failed often on Travis.
Diffstat (limited to '.github/workflows/macos.yml')
-rw-r--r--.github/workflows/macos.yml2
1 files changed, 1 insertions, 1 deletions
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 .