restore from another cache when running on main. Otherwise that workflow always takes an hour

This commit is contained in:
erik-krogh
2022-11-09 11:45:21 +01:00
parent 8756989b4b
commit 484dc4ad3a

View File

@@ -39,6 +39,8 @@ jobs:
with:
path: '*/ql/src/.cache'
key: codeql-compile-main-${{ github.sha }} # just fill on main
restore-keys: | # restore from another random commit, to speed up compilation.
codeql-compile-main-
- name: Setup CodeQL
uses: ./.github/actions/fetch-codeql
with: