Skip to content

Publish package distributions to PyPI #3

Publish package distributions to PyPI

Publish package distributions to PyPI #3

Workflow file for this run

name: Publish package distributions to PyPI
on:
release:
types: [published]
jobs:
pypi:
name: Publish package
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Build
run: |
python setup.py sdist bdist_wheel
- name: Publish
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
verbose: true