[前][次][番号順一覧][スレッド一覧]

ruby-changes:56955

From: Takashi <ko1@a...>
Date: Mon, 12 Aug 2019 17:44:33 +0900 (JST)
Subject: [ruby-changes:56955] Takashi Kokubun: 5ee11a95ff (master): Roughly retry `brew update` on GitHub Actions

https://git.ruby-lang.org/ruby.git/commit/?id=5ee11a95ff

From 5ee11a95ffbf194a73d1bea300a35f5d6250d203 Mon Sep 17 00:00:00 2001
From: Takashi Kokubun <takashikkbn@g...>
Date: Mon, 12 Aug 2019 17:44:02 +0900
Subject: Roughly retry `brew update` on GitHub Actions

because it has failed often on Travis.

diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index 67969a3..04d8c08 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -19,7 +19,7 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/macos.yml#L19
           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... 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 v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]