From e898f5694fb7b9e16d954ee1ba9c2242e89cb223 Mon Sep 17 00:00:00 2001 From: callebtc <93376500+callebtc@users.noreply.github.com> Date: Sun, 17 Mar 2024 15:37:42 +0100 Subject: [PATCH] upload on release --- .github/workflows/pypi.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pypi.yaml b/.github/workflows/pypi.yaml index 70691be5..07aafc8d 100644 --- a/.github/workflows/pypi.yaml +++ b/.github/workflows/pypi.yaml @@ -30,5 +30,6 @@ jobs: pip install --upgrade dist/*.whl - name: Upload to PyPI + if: github.event_name == 'release' run: | poetry publish -u __token__ -p ${{ secrets.PYPI_API_TOKEN }}