From babf6b0c41459b5a4c3d56eabec631c0693665c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Forr=C3=B3?= Date: Tue, 14 Nov 2023 10:45:26 +0100 Subject: [PATCH] Change trigger type for PyPI publish action MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `released` reacts only to stable releases, `prereleased` reacts to pre-releases, but not those converted from draft, `published` reacts to both. Signed-off-by: Nikola Forró --- .github/workflows/pypi-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index c59e613..3e7ec94 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -5,7 +5,7 @@ name: Publish Python 🐍 distributions 📦 to PyPI on: release: - types: [released] + types: [published] jobs: build-n-publish: