From 181b91e2a6b27fb933ea5d1f59a53d0a87a1ceb9 Mon Sep 17 00:00:00 2001 From: Marcel Martin Date: Fri, 3 Nov 2023 16:07:47 +0100 Subject: [PATCH] Publish alpha to testpypi --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3cac4867..5c41c7ef 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -97,14 +97,14 @@ jobs: name: wheels path: dist/ - name: Publish dev release to test PyPI - if: contains(github.ref, '.dev') || contains(github.ref, 'a') + if: contains(github.ref, 'a') uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__ password: ${{ secrets.test_pypi_password }} repository_url: https://test.pypi.org/legacy/ - name: Publish to PyPI - if: "!contains(github.ref, '.dev')" + if: "!contains(github.ref, '.dev') && !contains(github.ref, 'a')" uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__