Skip to content

Commit 9ddbe53

Browse files
authored
Address workflow issues
- Update pattern to capture .tgz qlpack files. - Add extra verbosity to the cert-cpp call to see what discrepancies occur with the autosar-cpp (as we see the autosar pack bundling retrigger compilation) - Combine the query compile calls in the earlier step to try to promote retaining all the cache.
1 parent 147725d commit 9ddbe53

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/code-scanning-pack-gen.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,7 @@ jobs:
9898
run: |
9999
PATH=$PATH:$CODEQL_HOME/codeql
100100
101-
codeql query compile --precompile --threads 0 cpp
102-
codeql query compile --precompile --threads 0 c
101+
codeql query compile --precompile --threads 0 cpp c
103102
104103
cd ..
105104
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/schemas
@@ -120,12 +119,12 @@ jobs:
120119
codeql pack bundle --output=common-c-coding-standards.tgz c/common/src
121120
codeql pack bundle --output=misra-c-coding-standards.tgz c/misra/src
122121
codeql pack bundle --output=cert-c-coding-standards.tgz c/cert/src
123-
codeql pack bundle --output=cert-cpp-coding-standards.tgz cpp/cert/src
122+
codeql pack bundle --output=cert-cpp-coding-standards.tgz -vvv cpp/cert/src
124123
codeql pack bundle --output=autosar-cpp-coding-standards.tgz -vvv cpp/autosar/src
125124
codeql pack bundle --output=report-cpp-coding-standards.tgz cpp/report/src
126125
127126
- name: Upload qlpack bundles
128127
uses: actions/upload-artifact@v4
129128
with:
130129
name: coding-standards-qlpacks
131-
path: '*-cp?p?-coding-standards.tgz'
130+
path: '*-coding-standards.tgz'

0 commit comments

Comments
 (0)