From d76b9d963cb3a77b15f789b28480b1015eb292b7 Mon Sep 17 00:00:00 2001 From: Yelin Zhang <30687616+Yelinz@users.noreply.github.com> Date: Wed, 3 Jan 2024 13:12:56 +0100 Subject: [PATCH] chore: add poetry to release action --- .github/workflows/release.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6c75f8c..f94287d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,4 @@ -name: Semantic Release +name: Release on: workflow_dispatch: @@ -16,6 +16,9 @@ jobs: with: fetch-depth: 0 + - name: Install poetry + run: pipx install poetry + - name: Python Semantic Release id: release uses: python-semantic-release/python-semantic-release@v8.7.0 @@ -23,6 +26,4 @@ jobs: github_token: ${{ secrets.GH_TOKEN }} - name: Publish package distributions to PyPI - uses: pypa/gh-action-pypi-publish@release/v1 - if: steps.release.outputs.released == 'true' - + uses: pypa/gh-action-pypi-publish@release/v1