Merge branch 'js/ci-github-set-env'
CI update. * js/ci-github-set-env: ci: avoid using the deprecated `set-env` construct
This commit is contained in:
commit
719b92eeaf
2
.github/workflows/check-whitespace.yml
vendored
2
.github/workflows/check-whitespace.yml
vendored
@ -14,7 +14,7 @@ jobs:
|
||||
steps:
|
||||
- name: Set commit count
|
||||
shell: bash
|
||||
run: echo "::set-env name=COMMIT_DEPTH::$((1+$COMMITS))"
|
||||
run: echo "COMMIT_DEPTH=$((1+$COMMITS))" >>$GITHUB_ENV
|
||||
env:
|
||||
COMMITS: ${{ github.event.pull_request.commits }}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user