1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-05-10 17:46:37 +02:00

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:
Junio C Hamano 2020-11-11 13:18:39 -08:00
commit 719b92eeaf

View File

@ -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 }}