2020 XARGS_MAX_PROCS : 4
2121
2222jobs :
23-
2423 prepare-code-scanning-pack-matrix :
2524 name : Prepare CodeQL Code Scanning pack matrix
2625 runs-on : ubuntu-22.04
@@ -139,20 +138,21 @@ jobs:
139138 - name : Create qlpack bundles
140139 env :
141140 CODEQL_HOME : ${{ github.workspace }}/codeql_home
141+ CODEQL_CACHE : ${{ github.workspace }}/codeql_cache
142142 run : |
143143 PATH=$PATH:$CODEQL_HOME/codeql
144144
145- codeql pack bundle --output=common-cpp-coding-standards.tgz cpp/common/src
146- codeql pack bundle --output=common-c-coding-standards.tgz c/common/src
147- codeql pack bundle --output=misra-c-coding-standards.tgz c/misra/src
148- codeql pack bundle --output=cert-c-coding-standards.tgz c/cert/src
149- codeql pack bundle --output=cert-cpp-coding-standards.tgz cpp/cert/src
150- codeql pack bundle --output=autosar-cpp-coding-standards.tgz cpp/autosar/src
151- codeql pack bundle --output=misra-cpp-coding-standards.tgz cpp/misra/src
152- codeql pack bundle --output=report-coding-standards.tgz cpp/report/src
145+ codeql pack bundle --common-caches="$CODEQL_CACHE" -- output=common-cpp-coding-standards.tgz cpp/common/src
146+ codeql pack bundle --common-caches="$CODEQL_CACHE" -- output=common-c-coding-standards.tgz c/common/src
147+ codeql pack bundle --common-caches="$CODEQL_CACHE" -- output=misra-c-coding-standards.tgz c/misra/src
148+ codeql pack bundle --common-caches="$CODEQL_CACHE" -- output=cert-c-coding-standards.tgz c/cert/src
149+ codeql pack bundle --common-caches="$CODEQL_CACHE" -- output=cert-cpp-coding-standards.tgz cpp/cert/src
150+ codeql pack bundle --common-caches="$CODEQL_CACHE" -- output=autosar-cpp-coding-standards.tgz cpp/autosar/src
151+ codeql pack bundle --common-caches="$CODEQL_CACHE" -- output=misra-cpp-coding-standards.tgz cpp/misra/src
152+ codeql pack bundle --common-caches="$CODEQL_CACHE" -- output=report-coding-standards.tgz cpp/report/src
153153
154154 - name : Upload qlpack bundles
155155 uses : actions/upload-artifact@v7
156156 with :
157157 name : coding-standards-codeql-packs
158- path : ' *-coding-standards.tgz'
158+ path : " *-coding-standards.tgz"
0 commit comments