diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-10-25 02:24:00 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-10-25 02:24:00 +0900 |
commit | 826bbf9837e1e763c9200bb81e63560b194533dd (patch) | |
tree | e74115a99543b469164cdfb507e5ca415263c2ab | |
parent | 967b924aa0b8385b2f8effd96c006fb3eeca7802 (diff) | |
download | ruby-826bbf9837e1e763c9200bb81e63560b194533dd.tar.gz |
Split by `&&`
-rw-r--r-- | .github/workflows/windows.yml | 8 |
1 files 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: | |