File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -29,17 +29,17 @@ jobs:
29
29
path : ' */ql/src/.cache'
30
30
key : codeql-compile-pr-${{ github.sha }} # deliberately not using the `compile-compile-main` keys here.
31
31
restore-keys : |
32
- codeql-compile-refs/heads/ ${{ github.base_ref }}-${{ env.merge-base }}
33
- codeql-compile-refs/heads/ ${{ github.base_ref }}-
32
+ codeql-compile-${{ github.base_ref }}-${{ env.merge-base }}
33
+ codeql-compile-${{ github.base_ref }}-
34
34
- name : Fill CodeQL query compilation cache - main
35
35
if : ${{ github.event_name != 'pull_request' }}
36
36
uses : actions/cache@v3
37
37
with :
38
38
path : ' */ql/src/.cache'
39
- key : codeql-compile-${{ github.ref }}-${{ github.sha }} # just fill on main
39
+ key : codeql-compile-${{ github.ref_name }}-${{ github.sha }} # just fill on main
40
40
restore-keys : | # restore from another random commit, to speed up compilation.
41
- codeql-compile-${{ github.ref }}-
42
- codeql-compile-refs/heads/ main-
41
+ codeql-compile-${{ github.ref_name }}-
42
+ codeql-compile-main-
43
43
- name : Setup CodeQL
44
44
uses : ./.github/actions/fetch-codeql
45
45
with :
You can’t perform that action at this time.
0 commit comments