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

ruby-changes:58422

From: Nobuyoshi <ko1@a...>
Date: Fri, 25 Oct 2019 02:32:46 +0900 (JST)
Subject: [ruby-changes:58422] 826bbf9837 (master): Split by `&&`

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

From 826bbf9837e1e763c9200bb81e63560b194533dd Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Fri, 25 Oct 2019 02:24:00 +0900
Subject: Split by `&&`


diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index 2e057ad..97e1b98 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -30,10 +30,14 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/windows.yml#L30
           choco install winflexbison3
       # Not using official actions/checkout because it's unstable and sometimes doesn't work for a fork.
       - name: Checkout ruby/ruby
-        run: git clone --depth=50 https://github.com/ruby/ruby . && git reset --hard ${{ github.sha }}
+        run: |
+          git clone --depth=50 https://github.com/ruby/ruby .
+          git reset --hard ${{ github.sha }}
         if: github.event_name == 'push'
       - name: Checkout a pull request
-        run: git clone --depth=50 --branch=${{ github.event.pull_request.head.ref }} https://github.com/${{ github.event.pull_request.head.repo.full_name }} . && git reset --hard ${{ github.event.pull_request.head.sha }}
+        run: |
+          git clone --depth=50 --branch=${{ github.event.pull_request.head.ref }} https://github.com/${{ github.event.pull_request.head.repo.full_name }} .
+          git reset --hard ${{ github.event.pull_request.head.sha }}
         if: github.event_name == 'pull_request'
       - name: configure
         run: |
-- 
cgit v0.10.2


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

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