зеркало из https://github.com/microsoft/git.git
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:
Коммит
719b92eeaf
|
@ -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 }}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче