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

ruby-changes:57018

From: Takashi <ko1@a...>
Date: Wed, 14 Aug 2019 10:52:38 +0900 (JST)
Subject: [ruby-changes:57018] Takashi Kokubun: 765d603153 (master): Try to fix variable reference on Windows (#2361)

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

From 765d60315312a6a7068d9b24d7c6f38b778c4604 Mon Sep 17 00:00:00 2001
From: Takashi Kokubun <takashikkbn@g...>
Date: Wed, 14 Aug 2019 10:52:15 +0900
Subject: Try to fix variable reference on Windows (#2361)

https://github.com/ruby/ruby/runs/192869165

diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index 6f72332..45f9728 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -33,16 +33,10 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/windows.yml#L33
         run: 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"
-        env:
-          GITHUB_SHA: ${{ 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_BRANCH" "https://github.com/${GITHUB_REPO}" . && git reset --hard "$GITHUB_REV"
-        env:
-          GITHUB_REV: ${{ github.event.pull_request.head.sha }}
-          GITHUB_BRANCH: ${{ github.event.pull_request.head.ref }}
-          GITHUB_REPO: ${{ github.event.pull_request.head.repo.full_name }}
+        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/

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