From ab7cb6518cb4efc4bec40f77cff6576869229f92 Mon Sep 17 00:00:00 2001 From: aemarco Date: Mon, 27 Jul 2026 22:52:36 +0200 Subject: [PATCH] ci: run build on PRs/pushes to main and develop, publish only on push to main Co-Authored-By: Claude Sonnet 5 --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b481e29..2cf3561 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,6 +7,7 @@ on: - develop pull_request: branches: + - main - develop workflow_dispatch: @@ -55,7 +56,7 @@ jobs: publish: needs: build runs-on: windows-latest - if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request' + if: github.ref == 'refs/heads/main' environment: name: push-to-nuget-org steps: