From 839f02a709187b2c03944e532d0b36ed74ab980f Mon Sep 17 00:00:00 2001 From: Remco Vermeulen Date: Fri, 26 Apr 2024 09:30:05 -0700 Subject: [PATCH] Precompile the queries for distribution With the upgrade of the CLI the location of cache changed causing it to no longer be part of the distribution archive. By precompiling the queries each `.ql` file will have a compiled `.qlx` file. --- .github/workflows/code-scanning-pack-gen.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/code-scanning-pack-gen.yml b/.github/workflows/code-scanning-pack-gen.yml index ec665a95d1..1fd57cf755 100644 --- a/.github/workflows/code-scanning-pack-gen.yml +++ b/.github/workflows/code-scanning-pack-gen.yml @@ -99,8 +99,8 @@ jobs: run: | PATH=$PATH:$CODEQL_HOME/codeql - codeql query compile --threads 0 cpp - codeql query compile --threads 0 c + codeql query compile --precompile --threads 0 cpp + codeql query compile --precompile --threads 0 c cd .. zip -r codeql-coding-standards/code-scanning-cpp-query-pack.zip codeql-coding-standards/c/ codeql-coding-standards/cpp/ codeql-coding-standards/.codeqlmanifest.json codeql-coding-standards/supported_codeql_configs.json codeql-coding-standards/scripts/configuration codeql-coding-standards/scripts/reports codeql-coding-standards/scripts/shared codeql-coding-standards/scripts/guideline_recategorization codeql-coding-standards/scripts/shared codeql-coding-standards/scripts/schemas