From 3f8bf5d9759bf66e5a6cf682e0b447268fb00b72 Mon Sep 17 00:00:00 2001 From: xaoyo Date: Tue, 31 Oct 2023 18:36:55 +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/{publishNew.yml => publish.yml} | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) rename .github/workflows/{publishNew.yml => publish.yml} (85%) diff --git a/.github/workflows/publishNew.yml b/.github/workflows/publish.yml similarity index 85% rename from .github/workflows/publishNew.yml rename to .github/workflows/publish.yml index 1977f2f..daae785 100644 --- a/.github/workflows/publishNew.yml +++ b/.github/workflows/publish.yml @@ -9,7 +9,7 @@ on: jobs: publishNew: name: Publish Pypi and Create Release - if: github.repository == 'xaoyaoo/PyWxDump' && contains(github.ref, 'tags/v') # 仅在指定仓库的 tag 触发工作流程 + if: github.repository == 'xaoyaoo/PyWxDump' # 仅在指定仓库的 tag 触发工作流程 # 此作业在 Linux 上运行 runs-on: windows-latest @@ -55,3 +55,9 @@ jobs: draft: false prerelease: false + - name: Upload .whl file + uses: actions/upload-artifact@v2 + if: exists('dist/*.whl') + with: + name: wheel + path: dist/*.whl \ No newline at end of file