fastmcp/.github/workflows/publish.yml
dependabot[bot] ade9dbdba4
Bump actions/checkout from 4 to 5 (#1533)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-22 15:54:51 -04:00

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@v5
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/*