From a8c2c753cc0f12b6c28404efcb66de0f599ff98a Mon Sep 17 00:00:00 2001 From: Jothi Prakash Date: Thu, 26 Dec 2024 11:52:40 +0530 Subject: [PATCH] Check --- .github/workflows/publish.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 324575ff..7885116b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,5 +1,7 @@ name: Publish to PyPI [Production] on: + push: + workflow_dispatch: release: types: [published] jobs: @@ -54,11 +56,14 @@ jobs: # Tell poetry to use the `current-version` that was found by the previous step #----------------------------------------------------------------------------- - name: Update pyproject.toml - run: poetry version ${{ steps.version.outputs.current-version }} + run: | + echo "Current version - ${{ steps.version.outputs.current-version }}" + poetry version ${{ steps.version.outputs.current-version }} + echo "Updated version - $(poetry version -s)" #---------------------------------------------- # Attempt push to test-pypi #---------------------------------------------- - - name: Build and publish to pypi - uses: JRubics/poetry-publish@v1.10 - with: - pypi_token: ${{ secrets.PROD_PYPI_TOKEN }} +# - name: Build and publish to pypi +# uses: JRubics/poetry-publish@v1.10 +# with: +# pypi_token: ${{ secrets.PROD_PYPI_TOKEN }}