添加自动发布到pypi的github action
This commit is contained in:
1 parent
e8a8fa92b4
commit
20ba8a2be6
2 files changed
+3
-3
No files matched your search
@@ -1,4 +1,4 @@
|
|||||||
name: PublishPYPI
|
name: Publish
|
||||||
|
|
||||||
on:
|
on:
|
||||||
# 当master分支有push时,触发action
|
# 当master分支有push时,触发action
|
||||||
@@ -8,7 +8,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish:
|
publish:
|
||||||
name: Publish Pypi
|
name: Publish Pypi and Create Release
|
||||||
if: github.repository == 'xaoyaoo/PyWxDump' && contains(github.ref, 'tags/v') # 仅在指定仓库的 tag 触发工作流程
|
if: github.repository == 'xaoyaoo/PyWxDump' && contains(github.ref, 'tags/v') # 仅在指定仓库的 tag 触发工作流程
|
||||||
# 此作业在 Linux 上运行
|
# 此作业在 Linux 上运行
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
[](https://pypi.org/project/pywxdump/)
|
[](https://pypi.org/project/pywxdump/)
|
||||||
[](https://pypi.org/project/pywxdump/)
|
[](https://pypi.org/project/pywxdump/)
|
||||||
[](https://github.com/xaoyaoo/PyWxDump/blob/master/LICENSE)
|
[](https://github.com/xaoyaoo/PyWxDump/blob/master/LICENSE)
|
||||||
[](https://pypi.org/project/pywxdump/)
|
[](https://github.com/xaoyaoo/PyWxDump/actions/workflows/publish.yml)
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary><strong>更新日志(点击展开):</strong></summary>
|
<summary><strong>更新日志(点击展开):</strong></summary>
|
||||||
|
|||||||
Reference in new issue
Block a user