Skip to content

Commit aede9c3

Browse files
committed
support general base-branches, not just main
1 parent 484dc4a commit aede9c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/compile-queries.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ jobs:
3838
uses: actions/cache@v3
3939
with:
4040
path: '*/ql/src/.cache'
41-
key: codeql-compile-main-${{ github.sha }} # just fill on main
41+
key: codeql-compile-${{ github.ref }}-${{ github.sha }} # just fill on main
4242
restore-keys: | # restore from another random commit, to speed up compilation.
43-
codeql-compile-main-
43+
codeql-compile-${{ github.ref }}-
4444
- name: Setup CodeQL
4545
uses: ./.github/actions/fetch-codeql
4646
with:

0 commit comments

Comments
 (0)