summaryrefslogtreecommitdiff
path: root/.github/workflows/macos.yml
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2019-08-13 23:36:31 +0900
committerGitHub <noreply@github.com>2019-08-13 23:36:31 +0900
commit79f9c626b63c2ce6ed1f3e767838a02a668145ba (patch)
treeeda2f52b952ad2036ab144e275667b2f9d9cb352 /.github/workflows/macos.yml
parentc393734c95cea944d3d37da15b5600e41f75a740 (diff)
Use the official actions/checkout again (#2357)
because clone does not checkout exact commit sha, and also we'd need to handle pull_request on fork, so I tentatively stopped to do this.
Notes
Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
Diffstat (limited to '.github/workflows/macos.yml')
-rw-r--r--.github/workflows/macos.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index bf1514ca49..5cd7cc0aaa 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -21,8 +21,10 @@ jobs:
run: |
brew update
brew install gdbm gmp libffi openssl@1.1 zlib autoconf automake libtool readline
- - name: Checkout # not using actions/checkout because it's unstable.
- run: git clone --depth=50 https://github.com/ruby/ruby .
+ - name: Checkout
+ uses: actions/checkout@master
+ with:
+ fetch-depth: 50
- name: Set ENV
run: |
echo '##[set-env name=JOBS]'-j$((1 + $(sysctl -n hw.activecpu)))