mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
767992329e
commit
17c0ce3798
3 changed files with 0 additions and 7 deletions
3
.github/workflows/coverage.yml
vendored
3
.github/workflows/coverage.yml
vendored
|
@ -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'
|
||||
|
|
2
.github/workflows/macos.yml
vendored
2
.github/workflows/macos.yml
vendored
|
@ -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"
|
||||
|
|
2
.github/workflows/ubuntu.yml
vendored
2
.github/workflows/ubuntu.yml
vendored
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue