publish.yml 319 B

123456789101112
  1. - name: Install dependencies
  2. run: |
  3. python -m pip install --upgrade pip
  4. pip install setuptools wheel twine
  5. - name: Build and publish
  6. env:
  7. TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
  8. TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
  9. run: |
  10. python setup.py sdist bdist_wheel
  11. twine upload dist/*