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:
parent
c393734c95
commit
79f9c626b6
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
6
.github/workflows/macos.yml
vendored
6
.github/workflows/macos.yml
vendored
|
@ -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)))
|
||||
|
|
6
.github/workflows/ubuntu.yml
vendored
6
.github/workflows/ubuntu.yml
vendored
|
@ -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)))
|
||||
|
|
6
.github/workflows/windows.yml
vendored
6
.github/workflows/windows.yml
vendored
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue