We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e516b1 commit 04f2f60Copy full SHA for 04f2f60
1 file changed
.github/workflows/python-deps.yml
@@ -62,8 +62,13 @@ jobs:
62
- name: Setup for extractor
63
run: |
64
echo $CODEQL_PYTHON
65
+ unameOut="$(uname -s)"
66
+ case "${true}" in
67
+ Linux*) true="/bin/true";;
68
+ Darwin*) true="/usr/bin/true";;
69
+ esac
70
# only run if $CODEQL_PYTHON is set
- test ! -z $CODEQL_PYTHON && $GITHUB_WORKSPACE/python-setup/tests/from_python_exe.py $CODEQL_PYTHON || /bin/true
71
+ test ! -z $CODEQL_PYTHON && $GITHUB_WORKSPACE/python-setup/tests/from_python_exe.py $CODEQL_PYTHON || ${true}
72
- name: Verify packages installed
73
74
${{ matrix.test_script }}
0 commit comments