зеркало из https://github.com/github/codeql.git
Fix codeql CLI path
This commit is contained in:
Родитель
b067309909
Коммит
916780a452
|
@ -17,6 +17,7 @@ jobs:
|
|||
uses: actions/checkout@v2
|
||||
with:
|
||||
path: codeqlModels
|
||||
fetch-depth: 0
|
||||
- name: Set up Python 3.8
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
|
@ -32,7 +33,9 @@ jobs:
|
|||
run: unzip -d codeql-cli codeql-linux64.zip
|
||||
- name: Build modeled package list
|
||||
run: |
|
||||
PATH="$PATH:codeql-cli/codeql" python script/misc/scripts/library-coverage/generate-timeseries.py codeqlModels
|
||||
CLI=$(realpath "codeql-cli/codeql")
|
||||
echo $CLI
|
||||
PATH="$PATH:$CLI" python script/misc/scripts/library-coverage/generate-timeseries.py codeqlModels
|
||||
- name: Upload timeseries CSV
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
|
|
|
@ -66,6 +66,9 @@ def get_packages(lang, query):
|
|||
working_dir = ""
|
||||
if len(sys.argv) > 1:
|
||||
working_dir = sys.argv[1]
|
||||
else:
|
||||
print("Working directory is not specified")
|
||||
exit(1)
|
||||
|
||||
configs = [
|
||||
utils.LanguageConfig(
|
||||
|
|
Загрузка…
Ссылка в новой задаче