Skip to content

build and publish to PyPI #1

build and publish to PyPI

build and publish to PyPI #1

Workflow file for this run

name: build and publish to PyPI
on:
workflow_dispatch:
push:
tags:
- "v*"
jobs:
pypi-publish:
name: Publish release to PyPI
runs-on: ubuntu-latest
timeout-minutes: 5
environment:
name: pypi
url: https://pypi.org/p/numtype
permissions:
id-token: write
steps:
- uses: actions/[email protected]
- name: setup uv
uses: astral-sh/[email protected]
with:
python-version: "3.14"
- name: uv build
run: uv build
- name: publish to PyPI
uses: pypa/[email protected]