Skip to content

build: adopt stream-sdk PyPI publish workflow - #5

Merged
haofeng0705 merged 1 commit into
DingTalk-Real-AI:mainfrom
typefield:stream-sdk-release-workflow
Sep 21, 2026
Merged

haofeng0705 merged 1 commit into
DingTalk-Real-AI:mainfrom
typefield:stream-sdk-release-workflow

Conversation

@typefield

Copy link
Copy Markdown
Contributor

Summary

Adopts the official open-dingtalk/dingtalk-stream-sdk-python release workflow:

  • Add [project.urls] in pyproject.toml (Homepage, Documentation, Repository, Issues).
  • Add .github/workflows/publish.yml running pytest, building PEP 517 wheel/sdist, and publishing via pypa/gh-action-pypi-publish@release/v1.

Test plan

  • Verified pytest passes cleanly.
  • Verified publish.yml matches open-dingtalk/dingtalk-stream-sdk-python.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

@haofeng0705 haofeng0705 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

复查通过:新增 PyPI 发布工作流与项目链接,工作流仅由 release / workflow_dispatch 触发,CI 3.8-3.12 全绿。建议后续可迁移至 OIDC Trusted Publishing 以替代 long-lived API token。可合入。

@haofeng0705
haofeng0705 merged commit 4b5962a into DingTalk-Real-AI:main Sep 21, 2026
5 checks passed
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.

2 participants