diff --git a/.github/workflows/python-package.yaml b/.github/workflows/python-package.yaml index 610f98d..68bfd4d 100644 --- a/.github/workflows/python-package.yaml +++ b/.github/workflows/python-package.yaml @@ -6,6 +6,8 @@ name: Python package on: push: branches: [ master ] + tags: + - 'v*' pull_request: branches: [ master ] @@ -37,9 +39,4 @@ jobs: make lint - name: test run: | - make test - - name: pypi-release - if: ${{ startsWith(github.ref, 'refs/tags/') && matrix.python-version == '3.10' }} - uses: pypa/gh-action-pypi-publish@master - with: - password: ${{ secrets.PYPI_API_TOKEN }} \ No newline at end of file + make test \ No newline at end of file