From ef7a3392f1de9439924bc005c95881b1390107df Mon Sep 17 00:00:00 2001 From: hmiao <739025250@qq.com> Date: Mon, 23 Aug 2021 11:54:39 +0800 Subject: [PATCH] Update pypi_publish.yml --- .github/workflows/pypi_publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pypi_publish.yml b/.github/workflows/pypi_publish.yml index 4643f6f..dfa8756 100644 --- a/.github/workflows/pypi_publish.yml +++ b/.github/workflows/pypi_publish.yml @@ -7,7 +7,7 @@ name: Upload Python Package on: release: - types: [published] + types: [created] jobs: deploy: @@ -28,4 +28,4 @@ jobs: uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__ - password: ${{ secrets.PYPI_API_TOKEN }} \ No newline at end of file + password: ${{ secrets.PYPI_API_TOKEN }}