1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Reduce sub-shell and use && instead of ;

This commit is contained in:
Kazuhiro NISHIYAMA 2019-08-19 19:37:07 +09:00
parent 8882986d97
commit 45bed2850e
No known key found for this signature in database
GPG key ID: 262ED8DBB4222F7A

View file

@ -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