添加自动发布到pypi的github action

This commit is contained in:
xaoyo 2023-10-28 22:46:51 +08:00
parent 9e25faea4d
commit 71f10d4561

View File

@ -7,7 +7,7 @@ on:
- 'v*' # 以 'v' 开头的标签触发工作流程
jobs:
publish:
publishNew:
name: Publish Pypi and Create Release
if: github.repository == 'xaoyaoo/PyWxDump' && contains(github.ref, 'tags/v') # 仅在指定仓库的 tag 触发工作流程
# 此作业在 Linux 上运行