Skip to content

Publish to PyPi

Publish to PyPi #15

Workflow file for this run

name: Publish to PyPi
on:
workflow_dispatch:
jobs:
publish-pypi:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install dependencies
run: |
pip install -U -r pipelines/requirements/dev.txt
- name: Build Package
run: |
python setup.py sdist bdist_wheel
- name: Upload to PyPi
run: |
twine upload -u __token__ -p ${{ secrets.PYPI_TOKEN }} dist/*