# SPDX-FileCopyrightText: 2025 Alexander Kalinovsky # # SPDX-License-Identifier: MIT name: Publish to TestPyPI on: push: tags: - "v*.*.*rc*" - "v*.*.*a*" - "v*.*.*b*" build-publish: permissions: id-token: write contents: read runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v4 - name: Set up uv uses: astral-sh/setup-uv@v4 with: enable-cache: true python-version: "3.13" - name: Build wheel & sdist run: | uv build - name: Publish (TestPyPI) run: | uv publish --repository-url https://test.pypi.org/legacy/ --skip-existing