[前][次][番号順一覧][スレッド一覧]

ruby-changes:59113

From: Nobuyoshi <ko1@a...>
Date: Mon, 9 Dec 2019 00:13:07 +0900 (JST)
Subject: [ruby-changes:59113] d00349f994 (master): Fixed the checking out source

https://git.ruby-lang.org/ruby.git/commit/?id=d00349f994

From d00349f99470cfddd522ee1e7fa9a5f6dc126771 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Sun, 8 Dec 2019 23:09:39 +0900
Subject: Fixed the checking out source


diff --git a/.github/workflows/cygwin.yml b/.github/workflows/cygwin.yml
index 459f42c..2dd7167 100644
--- a/.github/workflows/cygwin.yml
+++ b/.github/workflows/cygwin.yml
@@ -37,15 +37,15 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/cygwin.yml#L37
       - 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
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]