summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2019-08-19 14:59:58 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2019-08-19 14:59:59 +0900
commit6c2aa8689ade82578e9e16be37e21e16eb7ce069 (patch)
treecf6a0b487b0ef1618561a3a56310bded686558ab /.github
parent39a43d9cd09f8c880d0a70d9cb8ede6d7e6ef583 (diff)
Roughly retry `brew update`
as it failed randomly https://github.com/ruby/ruby/runs/196712109
Diffstat (limited to '.github')
-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 d9d7c083ed..b809010821 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -20,7 +20,7 @@ jobs:
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate
- name: Install libraries
run: |
- brew update
+ brew update || (sleep 5; brew update) || (sleep 60; brew update)
brew install gdbm gmp libffi openssl@1.1 zlib autoconf automake libtool readline
# Not using official actions/checkout because it's unstable and sometimes doesn't work for a fork.
- name: Checkout ruby/ruby