From f4786f6c83772ac4e2bdd9ae86451418d3e07f49 Mon Sep 17 00:00:00 2001 From: Chell Date: Thu, 2 May 2024 23:31:09 +0200 Subject: [PATCH] chore: Refactor build workflow to handle multiple commits and check for version change --- .github/workflows/build.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index baed92c..9b8c87b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,3 +54,8 @@ jobs: return false; } result-encoding: string + - name: Publish Package + if: steps.check_version.outputs.new_version + uses: JRubics/poetry-publish@v2.0 + with: + pypi_token: ${{ secrets.PYPI_API_TOKEN }}