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 | |
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')
-rw-r--r-- | .github/workflows/coverage.yml | 3 | ||||
-rw-r--r-- | .github/workflows/macos.yml | 2 | ||||
-rw-r--r-- | .github/workflows/ubuntu.yml | 2 |
3 files changed, 0 insertions, 7 deletions
diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index dafc734ba3..f2998047a0 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -20,8 +20,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=10 https://github.com/ruby/ruby . && git reset --hard "$GITHUB_SHA" - env: - GITHUB_SHA: ${{ github.sha }} if: github.event_name == 'schedule' - name: Checkout a pull request run: git clone --depth=10 "--branch=$GITHUB_BRANCH" "https://github.com/${GITHUB_REPO}" . && git reset --hard "$GITHUB_REV" @@ -52,7 +50,6 @@ jobs: aws s3 cp lcov-all.info.xz s3://rubyci/coverage/lcov-all-"$GITHUB_SHA".info.xz aws s3 sync lcov-out s3://rubyci/coverage-latest-html env: - GITHUB_SHA: ${{ github.sha }} AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} if: github.event_name == 'schedule' 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" diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 7b58b32d07..e92e856c96 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -24,8 +24,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" |