mirror of
https://github.com/github/codeql-action.git
synced 2026-10-03 17:41:28 +00:00
Adapt true for mac
This commit is contained in:
7
.github/workflows/python-deps.yml
vendored
7
.github/workflows/python-deps.yml
vendored
@@ -62,8 +62,13 @@ jobs:
|
||||
- name: Setup for extractor
|
||||
run: |
|
||||
echo $CODEQL_PYTHON
|
||||
unameOut="$(uname -s)"
|
||||
case "${true}" in
|
||||
Linux*) true="/bin/true";;
|
||||
Darwin*) true="/usr/bin/true";;
|
||||
esac
|
||||
# only run if $CODEQL_PYTHON is set
|
||||
test ! -z $CODEQL_PYTHON && $GITHUB_WORKSPACE/python-setup/tests/from_python_exe.py $CODEQL_PYTHON || /bin/true
|
||||
test ! -z $CODEQL_PYTHON && $GITHUB_WORKSPACE/python-setup/tests/from_python_exe.py $CODEQL_PYTHON || ${true}
|
||||
- name: Verify packages installed
|
||||
run: |
|
||||
${{ matrix.test_script }}
|
||||
Reference in New Issue
Block a user