summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-12-08 23:09:39 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-12-09 00:12:45 +0900
commitd00349f99470cfddd522ee1e7fa9a5f6dc126771 (patch)
tree27f2d361e5f34bd9b615200e46544d2c6cf3cbe3
parent689e74485598d2c023fc2a00fac80b717b6f29b7 (diff)
Fixed the checking out source
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/2731
-rw-r--r--.github/workflows/cygwin.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/cygwin.yml b/.github/workflows/cygwin.yml
index 459f42c888e..2dd71675e86 100644
--- a/.github/workflows/cygwin.yml
+++ b/.github/workflows/cygwin.yml
@@ -37,15 +37,15 @@ jobs:
- name: Checkout ruby/ruby
run: |
path C:\tools\cygwin\bin;C:\tools\cygwin\usr\bin
- git.exe clone -b github-actions-workflows-cygwin --single-branch --shallow-since=yesterday https://github.com/${{ github.repository }} src
- git.exe -C src reset --hard ${{ github.sha }}
+ git clone --single-branch --shallow-since=yesterday https://github.com/ruby/ruby src
+ git -C src reset --hard ${{ github.sha }}
if: github.event_name == 'push'
shell: cmd
- name: Checkout a pull request
run: |
path C:\tools\cygwin\bin;C:\tools\cygwin\usr\bin
- git.exe clone --single-branch --shallow-since=yesterday --branch=${{ github.event.pull_request.head.ref }} https://github.com/${{ github.event.pull_request.head.repo.full_name }} src
- git.exe -C src reset --hard ${{ github.event.pull_request.head.sha }}
+ git clone --single-branch --shallow-since=yesterday --branch=${{ github.event.pull_request.head.ref }} https://github.com/${{ github.event.pull_request.head.repo.full_name }} src
+ git -C src reset --hard ${{ github.event.pull_request.head.sha }}
if: github.event_name == 'pull_request'
shell: cmd
- name: Actions-commit-info.sh