Skip to content

Fix logic to avoid exiting #16

Fix logic to avoid exiting

Fix logic to avoid exiting #16

Workflow file for this run

name: Publish Python 🐍 distributions πŸ“¦ to PyPI
on:
push:
tags:
- "*"
jobs:
build-n-publish:
name: Build and publish Python 🐍 distributions πŸ“¦ to PyPI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python 3.8
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Install dependencies
run: pip install --upgrade setuptools setuptools_scm wheel twine
- name: Build package
run: python setup.py sdist bdist_wheel
- name: Upload deploy
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: python -m twine upload dist/*