diff options
author | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2019-08-28 09:20:07 +0900 |
---|---|---|
committer | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2019-08-28 09:20:07 +0900 |
commit | 17c0ce379877fa3f8f79e84c5652bc2b74b9e08e (patch) | |
tree | da2fb2cedbcb42df0b1805d01df0c01ac783adfe /.github/workflows/macos.yml | |
parent | 767992329ea335546bbdc98812b5a16be720a415 (diff) | |
download | ruby-17c0ce379877fa3f8f79e84c5652bc2b74b9e08e.tar.gz |
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.yml | 2 |
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" |