From af7ebe91bab66069418a6ff3b88d71a36e10f9ea Mon Sep 17 00:00:00 2001 From: Alexander Temerev Date: Thu, 29 Feb 2024 09:57:09 +0100 Subject: [PATCH] trigger on tags only; upload to prod pypi --- .github/workflows/publish_wheels.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish_wheels.yml b/.github/workflows/publish_wheels.yml index 06f12b46..a2188df2 100644 --- a/.github/workflows/publish_wheels.yml +++ b/.github/workflows/publish_wheels.yml @@ -1,6 +1,9 @@ name: Neurodamus Wheels -on: push +on: + push: + tags: + - '*' jobs: wheel: @@ -36,4 +39,4 @@ jobs: PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} run: | pip3 install twine - python${{ matrix.python_version }} -m twine upload --username $PYPI_USER --password $PYPI_TOKEN --repository testpypi dist/* + python${{ matrix.python_version }} -m twine upload --username $PYPI_USER --password $PYPI_TOKEN dist/*