diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 18db0963..2c553a20 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -79,8 +79,7 @@ jobs: rust-build-windows: name: Build Rust Project on Windows runs-on: windows-latest - needs: changes - if: needs.changes.outputs.code == 'true' || github.event_name != 'pull_request' + if: github.event_name == 'push' && github.ref == 'refs/heads/main' steps: - name: Checkout Code uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1