Skip to content

refactor: Move images to root for README visibility #1

refactor: Move images to root for README visibility

refactor: Move images to root for README visibility #1

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
working-directory: src
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
working-directory: src
run: python -m build
- name: Publish package to PyPI
working-directory: src
env:
TWINE_USERNAME: "__token__"
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: python -m twine upload dist/*