Skip to content

refactor: improve long description handling in setup.py & images in `… #8

refactor: improve long description handling in setup.py & images in `…

refactor: improve long description handling in setup.py & images in `… #8

Workflow file for this run

# To publish a new version, push a new tag to the repository with the format vX.Y.Z
name: Publish Python Package
on:
push:
tags:
- 'v*.*.*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build twine
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Build package
run: python -m build
- name: Publish package to PyPI
env:
TWINE_USERNAME: "__token__"
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: python -m twine upload dist/*