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:
2626 echo "merge_base=$MERGE_BASE" >> $GITHUB_ENV
2727 - name : Read CodeQL query compilation - PR
2828 if : ${{ github.event_name == 'pull_request' }}
29- uses : actions/ cache@v3
29+ uses : erik-krogh/actions- cache@a88d0603fe5fb5606db9f002dfcadeb32b5f84c6
3030 with :
3131 path : ' **/.cache'
32+ read-only : true
3233 key : codeql-compile-${{ inputs.key }}-pr-${{ github.sha }} # deliberately not using the `compile-compile-main` keys here.
3334 restore-keys : |
3435 codeql-compile-${{ inputs.key }}-${{ github.base_ref }}-${{ env.merge_base }}
3536 codeql-compile-${{ inputs.key }}-${{ github.base_ref }}-
3637 codeql-compile-${{ inputs.key }}-main-
3738 - name : Fill CodeQL query compilation cache - main
3839 if : ${{ github.event_name != 'pull_request' }}
39- uses : actions/ cache@v3
40+ uses : erik-krogh/actions- cache@a88d0603fe5fb5606db9f002dfcadeb32b5f84c6
4041 with :
4142 path : ' **/.cache'
4243 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