From 79f9c626b63c2ce6ed1f3e767838a02a668145ba Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Tue, 13 Aug 2019 23:36:31 +0900 Subject: 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. --- .github/workflows/windows.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to '.github/workflows/windows.yml') 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" -- cgit v1.2.3