]> git.ipfire.org Git - thirdparty/git.git/blobdiff - .github/workflows/check-whitespace.yml
ci: avoid using the deprecated `set-env` construct
[thirdparty/git.git] / .github / workflows / check-whitespace.yml
index 9d070b9cdff286770d99dd24da65b7af87aa53f4..c74b47de9e27e0d0b3c9b112344e140eb85d6798 100644 (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 }}