Skip to content

fix: version endpoint (#16) #18

fix: version endpoint (#16)

fix: version endpoint (#16) #18

Workflow file for this run

# This workflow publishes the package to TestPyPI when a tag is pushed.
name: Test Publish
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]' # Matches semantic versioning tags like v1.0.0
jobs:
test-publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
environment:
name: testpypi
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- uses: astral-sh/setup-uv@v5
with:
enable-cache: true
- run: uv build
- uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/