From 0bdd17208312cbeefc994bf9d9ce3c944ef935c4 Mon Sep 17 00:00:00 2001 From: pyoor Date: Wed, 10 Jun 2026 17:36:56 -0400 Subject: [PATCH] ci: skip PyPI upload when dist is empty --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dd6150c..734f42e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -100,6 +100,7 @@ jobs: pipx run 'python-semantic-release~=10.0' -v publish - name: Upload to PyPI + if: hashFiles('dist/*') != '' uses: pypa/gh-action-pypi-publish@release/v1 with: skip-existing: true