From 816b74b681b7db584844b3828151faf2294f99ae Mon Sep 17 00:00:00 2001 From: WavyCat <52543076+wavy-cat@users.noreply.github.com> Date: Sat, 16 Mar 2024 11:23:22 +0500 Subject: [PATCH] Update publish.yml --- .github/workflows/publish.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e10b495..bbbae2b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -2,6 +2,10 @@ name: Publish to PYPI on: release: + paths-ignore: + - 'README.md' + - 'LICENSE' + - '.gitignore' types: - created @@ -13,8 +17,6 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 -# with: -# fetch-tags: true - name: Set up Python uses: actions/setup-python@v5 @@ -35,4 +37,4 @@ jobs: poetry build - name: Upload package - uses: pypa/gh-action-pypi-publish@release/v1 \ No newline at end of file + uses: pypa/gh-action-pypi-publish@release/v1