From 9f95f799433bc1384e7d6391363bddd5ed57ba69 Mon Sep 17 00:00:00 2001 From: Michael SCHAL Date: Sat, 5 Sep 2026 09:18:06 +0200 Subject: [PATCH] ci: publish Windows releases from main --- .github/workflows/windows-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/windows-release.yml b/.github/workflows/windows-release.yml index 3b19fac..b622f25 100644 --- a/.github/workflows/windows-release.yml +++ b/.github/workflows/windows-release.yml @@ -67,7 +67,7 @@ jobs: out/latest.yml if-no-files-found: error - name: Publish GitHub release - if: startsWith(github.ref, 'refs/tags/v') || github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && github.ref == 'refs/heads/master' && steps.ver.outputs.released == 'false') + if: startsWith(github.ref, 'refs/tags/v') || github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main') && steps.ver.outputs.released == 'false') uses: softprops/action-gh-release@v2 with: tag_name: v${{ steps.ver.outputs.version }}