From c982fe9a506e4dbae87f85287205cb6ea8db7fbe Mon Sep 17 00:00:00 2001 From: Manish Kumar Date: Mon, 1 Jul 2024 13:11:49 +0200 Subject: [PATCH] update pipeline --- .github/workflows/build-publish-pypi.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-publish-pypi.yml b/.github/workflows/build-publish-pypi.yml index 040d991..d6d0816 100644 --- a/.github/workflows/build-publish-pypi.yml +++ b/.github/workflows/build-publish-pypi.yml @@ -1,20 +1,17 @@ -name: PyPI Builder and Releaser +name: Publish Package to PyPi on: push: - tags: - - "**" + branches: + - master jobs: publish: - name: Publishes release candidate to PyPI runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v2 - with: - fetch-depth: 0 - name: Set up Python uses: actions/setup-python@v2 @@ -32,4 +29,4 @@ jobs: TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }} run: | python setup.py sdist bdist_wheel - twine upload dist/* + twine upload dist/* \ No newline at end of file