mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-09 15:19:10 +02:00
Co-authored-by: Jeremiah Lowin <jlowin@users.noreply.github.com> Co-authored-by: marvin-context-protocol[bot] <225465937+marvin-context-protocol[bot]@users.noreply.github.com>
26 lines
514 B
YAML
26 lines
514 B
YAML
name: Publish FastMCP to PyPI
|
|
on:
|
|
release:
|
|
types: [published]
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
pypi-publish:
|
|
name: Upload to PyPI
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
id-token: write # For PyPI's trusted publishing
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: "Install uv"
|
|
uses: astral-sh/setup-uv@v6
|
|
|
|
- name: Build
|
|
run: uv build
|
|
|
|
- name: Publish to PyPi
|
|
run: uv publish -v dist/*
|