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

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.
This commit is contained in:
Takashi Kokubun 2019-08-13 23:36:31 +09:00 committed by GitHub
parent c393734c95
commit 79f9c626b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
Notes: git 2019-08-31 04:40:14 +09:00
Merged-By: k0kubun <takashikkbn@gmail.com>
3 changed files with 12 additions and 6 deletions

View file

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

View file

@ -20,8 +20,10 @@ jobs:
sudo apt-get update
sudo apt-get install ruby2.5
sudo apt-get build-dep ruby2.5
- 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: |
export JOBS=-j$((1 + $(nproc --all)))

View file

@ -31,8 +31,10 @@ jobs:
dependencies: openssl readline zlib
- name: Install libraries with chocolatey
run: choco install winflexbison3
- 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: configure
run: |
call "C:\Program Files (x86)\Microsoft Visual Studio\${{ matrix.vs }}\Enterprise\VC\Auxiliary\Build\vcvars64.bat"