Skip to content

Bump version to v0.2.4 #35

Bump version to v0.2.4

Bump version to v0.2.4 #35

Workflow file for this run

name: PyPI Publish
on:
release:
types: [created]
push:
tags:
- 'v*.*.*'
- 'v*.*.*.*'
jobs:
publish:
name: Build and Publish to PyPI
environment: publish_pypi
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v4
with:
enable-cache: true
ignore-nothing-to-cache: true
cache-dependency-glob: uv.lock
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Build package
run: uv build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
# for test.pypi
# with:
# repository-url: https://test.pypi.org/legacy/