diff options
author | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2019-08-19 19:37:07 +0900 |
---|---|---|
committer | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2019-08-19 19:37:07 +0900 |
commit | 45bed2850e5bf31c3528cf3559e76c3823bb4340 (patch) | |
tree | 97db534e2df97da924f81a68797cf04c8150e2d3 /.github | |
parent | 8882986d9701ef8be4cdd87e64a30321f1738cee (diff) |
Reduce sub-shell and use `&&` instead of `;`
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/macos.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index b809010821..1dcd992d33 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 || (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.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 |