From 20ba8a2be6f6dc2d43e92136b2d82712951e324c Mon Sep 17 00:00:00 2001 From: xaoyo Date: Sat, 28 Oct 2023 20:21:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=87=AA=E5=8A=A8=E5=8F=91?= =?UTF-8?q?=E5=B8=83=E5=88=B0pypi=E7=9A=84github=20action?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/publish.yml | 4 ++-- README.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 26423fd..0449833 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,4 +1,4 @@ -name: PublishPYPI +name: Publish on: # 当master分支有push时,触发action @@ -8,7 +8,7 @@ on: jobs: publish: - name: Publish Pypi + name: Publish Pypi and Create Release if: github.repository == 'xaoyaoo/PyWxDump' && contains(github.ref, 'tags/v') # 仅在指定仓库的 tag 触发工作流程 # 此作业在 Linux 上运行 runs-on: windows-latest diff --git a/README.md b/README.md index f754b17..49ff37f 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ [![Wheel](https://img.shields.io/pypi/wheel/pywxdump)](https://pypi.org/project/pywxdump/) [![PyPI-Downloads](https://img.shields.io/pypi/dm/pywxdump)](https://pypi.org/project/pywxdump/) [![GitHub license](https://img.shields.io/pypi/l/pywxdump)](https://github.com/xaoyaoo/PyWxDump/blob/master/LICENSE) -[![AutoPyPI](https://github.com/xaoyaoo/PyWxDump/workflows/PublishPYPI/badge.svg)](https://pypi.org/project/pywxdump/) +[![PublishPYPI](https://github.com/xaoyaoo/PyWxDump/actions/workflows/publish.yml/badge.svg?branch=master)](https://github.com/xaoyaoo/PyWxDump/actions/workflows/publish.yml)
更新日志(点击展开):