summaryrefslogtreecommitdiff
path: root/.github/workflows/macos.yml
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-08-28 09:20:07 +0900
committerKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-08-28 09:20:07 +0900
commit17c0ce379877fa3f8f79e84c5652bc2b74b9e08e (patch)
treeda2fb2cedbcb42df0b1805d01df0c01ac783adfe /.github/workflows/macos.yml
parent767992329ea335546bbdc98812b5a16be720a415 (diff)
Remove GITHUB_SHA from jobs.<job_id>.steps.env
because default value overrides it. https://help.github.com/en/articles/virtual-environments-for-github-actions#environment-variables
Diffstat (limited to '.github/workflows/macos.yml')
-rw-r--r--.github/workflows/macos.yml2
1 files changed, 0 insertions, 2 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index 2e53d52f59..7718e019db 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -25,8 +25,6 @@ jobs:
# 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 }}
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"