Skip to content

[Fixes #38]: "Feature: implement /api/v2/groups/ " #16

[Fixes #38]: "Feature: implement /api/v2/groups/ "

[Fixes #38]: "Feature: implement /api/v2/groups/ " #16

name: Publish Python 🐍 package to PyPI
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build-and-publish:
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.10'
- name: Install build tools
run: |
python -m pip install --upgrade pip
pip install build twine
- name: Build package
run: |
python -m build
- name: Publish to PyPI
env:
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
run: |
twine upload -u __token__ -p $TWINE_PASSWORD dist/*