Skip to content

📝 [Doc] README: update example with latest feature, and upgrad… #36

📝 [Doc] README: update example with latest feature, and upgrad…

📝 [Doc] README: update example with latest feature, and upgrad… #36

Workflow file for this run

name: Build package and publish to PyPI
on:
push:
paths:
- "pyproject.toml"
workflow_dispatch:
concurrency:
group: pypi
cancel-in-progress: true
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.9"
- name: Install dependencies
run: |
python -m pip install --upgrade pip build twine
- name: Build and publish
run: |
python -m build
python -m twine upload dist/* --skip-existing
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}