Create setup.py

This commit is contained in:
2022-06-25 21:45:16 +01:00
parent 7d9f745930
commit 2cb2bc2190
3 changed files with 31 additions and 4 deletions

View File

@ -108,7 +108,11 @@ jobs:
publish:
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
needs: build
steps:
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}