diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-11-11 13:18:39 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-11-11 13:18:39 -0800 |
commit | 719b92eeaf7488e68c1e920ce30b989fc02998b0 (patch) | |
tree | 52c095da76cf1fd9a7b62b23095489703941d5ca /.github/workflows | |
parent | ca8870d7c198b658a0e3004e27d1c36305702f7f (diff) | |
parent | cac42e471afae5b1af4f0745388981675b920d91 (diff) | |
download | git-719b92eeaf7488e68c1e920ce30b989fc02998b0.tar.gz |
Merge branch 'js/ci-github-set-env'
CI update.
* js/ci-github-set-env:
ci: avoid using the deprecated `set-env` construct
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/check-whitespace.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/check-whitespace.yml b/.github/workflows/check-whitespace.yml index 80a961716b..f1483059c7 100644 --- a/.github/workflows/check-whitespace.yml +++ b/.github/workflows/check-whitespace.yml @@ -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 }} |