Skip to content

Update version to 0.2.0 and add changelog entry for new CI workflow t… #2

Update version to 0.2.0 and add changelog entry for new CI workflow t…

Update version to 0.2.0 and add changelog entry for new CI workflow t… #2

Workflow file for this run

name: Publish to PyPI
on:
workflow_dispatch:
push:
tags:
- 'v*'
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install build dependencies
run: |
python -m pip install --upgrade pip
pip install build twine
- name: Build package
run: |
python -m build
- name: Publish to PyPI
env:
TWINE_API_KEY: ${{ secrets.PYPI_API_TOKEN }}
run: |
twine upload --non-interactive -u __token__ -p "$TWINE_API_KEY" dist/*