aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/windows.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/windows.yml
parentc393734c95cea944d3d37da15b5600e41f75a740 (diff)
downloadruby-79f9c626b63c2ce6ed1f3e767838a02a668145ba.tar.gz
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.
Diffstat (limited to '.github/workflows/windows.yml')
-rw-r--r--.github/workflows/windows.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index 9546da0c57..39645aee5d 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -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"