From eea8c1e46e4d5abd2cfc98721e51692fcaa0da22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9B=A7=E7=9E=B3?= <42377282+2061360308@users.noreply.github.com> Date: Tue, 19 Dec 2023 23:16:50 +0800 Subject: [PATCH] chore:Update publish.yml --- .github/workflows/publish.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 21507b1..7024ea2 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -2,6 +2,8 @@ name: Publish Python 🐍 distributions 📦 to PyPI on: push: + branches: + - main tags: - '*' @@ -51,4 +53,4 @@ jobs: with: tag_name: ${{ github.ref }} release_name: Release ${{ github.ref }} - body: ${{ env.RELEASE_NOTES }} \ No newline at end of file + body: ${{ env.RELEASE_NOTES }}