Skip to content

WIP Migrate: poetry->uv #74

WIP Migrate: poetry->uv

WIP Migrate: poetry->uv #74

Workflow file for this run

name: Publish package
on:
push:
jobs:
publish_package:
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 tools
run: |
python -m pip install --upgrade pip build
- name: Build distributions
run: |
python -m build
- name: Publish package to PyPI
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}