Skip to content

Commit

Permalink
Merge branch 'js/ci-github-set-env'
Browse files Browse the repository at this point in the history
CI update.

* js/ci-github-set-env:
  ci: avoid using the deprecated `set-env` construct
  • Loading branch information
gitster committed Nov 11, 2020
2 parents ca8870d + cac42e4 commit 719b92e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/check-whitespace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down

0 comments on commit 719b92e

Please sign in to comment.