diff --git a/.github/workflows/crates.yaml b/.github/workflows/crates.yaml index 9140aa0..ba244f8 100644 --- a/.github/workflows/crates.yaml +++ b/.github/workflows/crates.yaml @@ -26,4 +26,5 @@ jobs: run: cargo test - name: Cargo publish + if: github.event_name == 'push' && github.ref == 'refs/heads/main' run: cargo publish || true