File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
.github/actions/cache-query-compilation Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -26,17 +26,18 @@ runs:
26
26
echo "merge_base=$MERGE_BASE" >> $GITHUB_ENV
27
27
- name : Read CodeQL query compilation - PR
28
28
if : ${{ github.event_name == 'pull_request' }}
29
- uses : actions/ cache@v3
29
+ uses : erik-krogh/actions- cache@a88d0603fe5fb5606db9f002dfcadeb32b5f84c6
30
30
with :
31
31
path : ' **/.cache'
32
+ read-only : true
32
33
key : codeql-compile-${{ inputs.key }}-pr-${{ github.sha }} # deliberately not using the `compile-compile-main` keys here.
33
34
restore-keys : |
34
35
codeql-compile-${{ inputs.key }}-${{ github.base_ref }}-${{ env.merge_base }}
35
36
codeql-compile-${{ inputs.key }}-${{ github.base_ref }}-
36
37
codeql-compile-${{ inputs.key }}-main-
37
38
- name : Fill CodeQL query compilation cache - main
38
39
if : ${{ github.event_name != 'pull_request' }}
39
- uses : actions/ cache@v3
40
+ uses : erik-krogh/actions- cache@a88d0603fe5fb5606db9f002dfcadeb32b5f84c6
40
41
with :
41
42
path : ' **/.cache'
42
43
key : codeql-compile-${{ inputs.key }}-${{ github.ref_name }}-${{ github.sha }} # just fill on main
You can’t perform that action at this time.
0 commit comments