ruby-changes:57180
From: Kazuhiro <ko1@a...>
Date: Mon, 19 Aug 2019 19:39:13 +0900 (JST)
Subject: [ruby-changes:57180] Kazuhiro NISHIYAMA: 45bed2850e (master): Reduce sub-shell and use `&&` instead of `; `
https://git.ruby-lang.org/ruby.git/commit/?id=45bed2850e From 45bed2850e5bf31c3528cf3559e76c3823bb4340 Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA <zn@m...> Date: Mon, 19 Aug 2019 19:37:07 +0900 Subject: Reduce sub-shell and use `&&` instead of `;` diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index b809010..1dcd992 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -20,7 +20,7 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/macos.yml#L20 sudo /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate - name: Install libraries run: | - brew update || (sleep 5; brew update) || (sleep 60; brew update) + brew update || { sleep 5 && brew update; } || { sleep 60 && brew update; } brew install gdbm gmp libffi openssl@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 -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/