From 826bbf9837e1e763c9200bb81e63560b194533dd Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Fri, 25 Oct 2019 02:24:00 +0900 Subject: Split by `&&` --- .github/workflows/windows.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 2e057ad974..97e1b98042 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -30,10 +30,14 @@ jobs: 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 v1.2.3