Skip to content

Commit 719b92e

Browse files
committed
Merge branch 'js/ci-github-set-env'
CI update. * js/ci-github-set-env: ci: avoid using the deprecated `set-env` construct
2 parents ca8870d + cac42e4 commit 719b92e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/check-whitespace.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
steps:
1515
- name: Set commit count
1616
shell: bash
17-
run: echo "::set-env name=COMMIT_DEPTH::$((1+$COMMITS))"
17+
run: echo "COMMIT_DEPTH=$((1+$COMMITS))" >>$GITHUB_ENV
1818
env:
1919
COMMITS: ${{ github.event.pull_request.commits }}
2020

0 commit comments

Comments
 (0)