File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -60,14 +60,10 @@ jobs:
6060 # Move all the existing cache into another folder, so we only preserve the cache for the current queries.
6161 mkdir -p ${COMBINED_CACHE_DIR}
6262 rm */ql/src/.cache/{lock,size}
63- # replicate the folder structure from the .cache folders into the combined cache folder. (because cp doesn't have a "create missing folders" option)
64- find */ql/src/.cache -type d | cut -d "/" -f 6,7 | sort | uniq > folders.txt
65- cat folders.txt | xargs -I {} mkdir -p ${COMBINED_CACHE_DIR}/{}
6663 # copy the contents of the .cache folders into the combined cache folder.
6764 cp -r */ql/src/.cache/* ${COMBINED_CACHE_DIR}/
6865 # clean up the .cache folders
6966 rm -rf */ql/src/.cache/*
70- rm folders.txt
7167
7268 # compile the queries
7369 codeql query compile -j0 */ql/src --keep-going --warnings=error --compilation-cache ${COMBINED_CACHE_DIR}
You can’t perform that action at this time.
0 commit comments