Skip to content

ci(mcp-adapter): add manual PyPI release workflow#72

Closed
Wolido wants to merge 1 commit into
mainfrom
feat/mcp-adapter-pypi-release-action
Closed

ci(mcp-adapter): add manual PyPI release workflow#72
Wolido wants to merge 1 commit into
mainfrom
feat/mcp-adapter-pypi-release-action

Conversation

@Wolido
Copy link
Copy Markdown
Owner

@Wolido Wolido commented May 21, 2026

变更

新增 .github/workflows/release-mcp-adapter.yml,支持手动触发将 MCP adapter 发布到 PyPI。

触发方式

Actions → release-mcp-adapter → Run workflow → 输入版本号

流程

  1. 运行测试(ubuntu-latest, Python 3.11)
  2. 校验 pyproject.toml 版本号与输入一致
  3. uv build 构建 sdist + wheel
  4. uv publish 发布到 PyPI

前置条件

需要在仓库 Settings → Secrets → Actions 中添加 UV_PUBLISH_TOKEN(PyPI API token)。

Add workflow_dispatch-based GitHub Actions workflow to publish
openaaas-mcp-adapter to PyPI.

- Manually triggered with version input
- Runs tests before publishing
- Validates pyproject.toml version matches input
- Uses uv build and uv publish
@Wolido Wolido closed this May 21, 2026
@Wolido Wolido deleted the feat/mcp-adapter-pypi-release-action branch May 22, 2026 00:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant