Skip to content

Commit c844b94

Browse files
authored
Merge pull request #1637 from AntoineRondelet/env-var-code-scanning-python
Removed deprecated echo set-env instruction for python code scanning excerpt
2 parents 0c1238e + 43d7c5d commit c844b94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ jobs:
188188
fi
189189
# Set the `CODEQL-PYTHON` environment variable to the Python executable
190190
# that includes the dependencies
191-
echo "::set-env name=CODEQL_PYTHON::$(which python)"
191+
echo "CODEQL_PYTHON=$(which python)" >> $GITHUB_ENV
192192
- name: Initialize CodeQL
193193
uses: github/codeql-action/init@v1
194194
with:

0 commit comments

Comments
 (0)