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:
60
60
# Move all the existing cache into another folder, so we only preserve the cache for the current queries.
61
61
mkdir -p ${COMBINED_CACHE_DIR}
62
62
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}/{}
66
63
# copy the contents of the .cache folders into the combined cache folder.
67
64
cp -r */ql/src/.cache/* ${COMBINED_CACHE_DIR}/
68
65
# clean up the .cache folders
69
66
rm -rf */ql/src/.cache/*
70
- rm folders.txt
71
67
72
68
# compile the queries
73
69
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