Skip to content

Publish on PyPI

Publish on PyPI #10

Workflow file for this run

name: Publish on PyPI
on:
push:
tags:
- v*
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Install Python dependencies
run: pip install wheel
- name: Create a Wheel file and source distribution
run: python setup.py sdist bdist_wheel
- name: Publish distribution package to PyPI
uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.PYPI_PASSWORD }}