From 6123c92d00b94ba3af40089fb909a65d14eab92a Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Mon, 14 Jul 2025 03:21:06 +0100 Subject: [PATCH] upd publish action --- .github/workflows/publish.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 680a99b..efe3ad4 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -36,4 +36,5 @@ jobs: run: hatch build - name: Publish on PyPI - uses: pypa/gh-action-pypi-publish@release/v1 + if: github.ref == 'refs/heads/main' + run: hatch publish