ci: don't cache coverage in some cases

This commit is contained in:
ClementTsang 2023-01-23 19:35:54 -05:00
parent 00d60d8d45
commit ea11be9cfc
No known key found for this signature in database
GPG Key ID: DC3B7867D8D97095
1 changed files with 1 additions and 0 deletions

View File

@ -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: |