diff options
-rw-r--r-- | .github/workflows/pypi-publish.yaml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/pypi-publish.yaml b/.github/workflows/pypi-publish.yaml index 3b6e208..b842c36 100644 --- a/.github/workflows/pypi-publish.yaml +++ b/.github/workflows/pypi-publish.yaml @@ -1,6 +1,6 @@ name: Publish tag to Pypi -on: +on: release: types: [published] @@ -17,15 +17,15 @@ jobs: - name: Install dev tools run: | pip install -r dev_requirements.txt - pip install twine + pip install twine wheel - name: Build package run: | python setup.py build - python setup.py dist + python setup.py dist bdist_wheel - name: Publish to Pypi uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__ - password: ${{ secrets.PYPI_API_TOKEN }}
\ No newline at end of file + password: ${{ secrets.PYPI_API_TOKEN }} |