From fff20642295365bbe9c19cd91293aa7d7f9acde3 Mon Sep 17 00:00:00 2001 From: puddly <32534428+puddly@users.noreply.github.com> Date: Thu, 9 Feb 2023 14:43:09 -0500 Subject: [PATCH] Only publish to PyPI on release --- .github/workflows/publish-to-pypi.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index 77847eb..a002d94 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -1,8 +1,8 @@ name: Publish distributions to PyPI and TestPyPI on: - push: - tags: - - "*" + release: + types: + - published jobs: build-and-publish: