Skip to content

Publish to PyPI.org

Publish to PyPI.org #4

Workflow file for this run

name: Publish to PyPI.org
on:
release:
types: [published]
workflow_dispatch:
jobs:
pypi:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- run: |
pip install -r requirements.txt
python3 -m pip install --upgrade build && python3 setup.py --verbose bdist_wheel
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}