Skip to content

Commit 484dc4a

Browse files
committed
restore from another cache when running on main. Otherwise that workflow always takes an hour
1 parent 8756989 commit 484dc4a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/compile-queries.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ jobs:
3939
with:
4040
path: '*/ql/src/.cache'
4141
key: codeql-compile-main-${{ github.sha }} # just fill on main
42+
restore-keys: | # restore from another random commit, to speed up compilation.
43+
codeql-compile-main-
4244
- name: Setup CodeQL
4345
uses: ./.github/actions/fetch-codeql
4446
with:

0 commit comments

Comments
 (0)