ci: don't cache coverage in some cases
This commit is contained in:
parent
00d60d8d45
commit
ea11be9cfc
|
@ -45,6 +45,7 @@ jobs:
|
|||
|
||||
- name: Enable Rust cache
|
||||
uses: Swatinem/rust-cache@359a70e43a0bb8a13953b04a90f76428b4959bb6 # 2.2.0
|
||||
if: ${{ github.event_name != 'pull_request' || ! github.event.pull_request.head.repo.fork }} # If it is a PR, only if not a fork
|
||||
|
||||
- name: Install cargo-llvm-cov
|
||||
run: |
|
||||
|
|
Loading…
Reference in New Issue