Skip to content

v0.1.8 - Switch to UV, bugfixes, add add_help in parse #21

v0.1.8 - Switch to UV, bugfixes, add add_help in parse

v0.1.8 - Switch to UV, bugfixes, add add_help in parse #21

Workflow file for this run

# This workflows will upload a Python Package using Twine when a release is created
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
name: Upload Python Package
on:
release:
types: [published]
workflow_dispatch: {}
jobs:
publish:
strategy:
matrix:
python-version: [3.9]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
version: "0.5.25"
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
uv sync
- name: Publish package
env:
UV_PUBLISH_TOKEN: ${{ secrets.PYPI_TOKEN }}
run: |
uv build
uv publish