diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cc4f1af91c2be..2c59ea0380153 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -103,6 +103,7 @@ jobs: - uses: Swatinem/rust-cache@v2 with: workspaces: ${{ env.DEV_DRIVE }}/uv + save-if: ${{ github.ref == 'refs/heads/main' }} env: CARGO_HOME: ${{ env.DEV_DRIVE }}/.cargo RUSTUP_HOME: ${{ env.DEV_DRIVE }}/.rustup