Skip to content

Publish to TestPyPI

Publish to TestPyPI #1

Workflow file for this run

name: Publish to TestPyPI
on:
workflow_dispatch: # manual trigger only
jobs:
test-publish:
runs-on: ubuntu-latest
environment: testpypi
permissions:
id-token: write # trusted publishing
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: astral-sh/setup-uv@f0ec1fc3b38f5e7cd731bb6ce540c5af426746bb # v4
- name: Build
run: uv build
- name: Publish to TestPyPI
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9e8454a21b30b1df74fa848 # release/v1
with:
repository-url: https://test.pypi.org/legacy/