From 9afbb6dd15f52879af2abdbbe835b00a54f6639b Mon Sep 17 00:00:00 2001 From: Pascal Berrang Date: Tue, 2 Jun 2026 14:36:54 +0200 Subject: [PATCH] Build Swift binary on release published, not created The `created` release event does not fire when a release is published from a previously-saved draft, so the binary build was silently skipped for draft-first releases (e.g. v0.12.0) while the PyPI publish (which listens on `published`) still ran. Switch to `published`, which fires for both draft-publish and direct-publish flows. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/build-binary.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-binary.yml b/.github/workflows/build-binary.yml index 7085572..ebfa3b4 100644 --- a/.github/workflows/build-binary.yml +++ b/.github/workflows/build-binary.yml @@ -2,7 +2,7 @@ name: Build Swift Binary on: release: - types: [created] + types: [published] permissions: contents: write