From 4d73c6ec1abb31ad86002b63b7caf503d8caff9e Mon Sep 17 00:00:00 2001 From: Vibaswan Date: Mon, 30 Sep 2024 18:57:56 +0530 Subject: [PATCH] removing check for python version for publish --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 40ff8fc57..904f8b9a4 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -70,13 +70,13 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Publish package id: release - if: steps.check_tag.outputs.exists == 'false' && matrix.python-version == 'python38' + if: github.ref == 'refs/heads/main' && steps.check_tag.outputs.exists == 'false' run: | export RELEASE_FLAG=1 echo "::set-output name=release_flag::${RELEASE_FLAG}" PYPI_USERNAME=__token__ PYPI_PASSWORD=${{ secrets.PYPI_API_TOKEN }} ${{steps.path.outputs.pythonv}} do.py release - name: Create release and publish artifacts - if: github.ref == 'refs/heads/main' && steps.check_tag.outputs.exists == 'false' && matrix.python-version == 'python38' + if: github.ref == 'refs/heads/main' && steps.check_tag.outputs.exists == 'false' uses: ncipollo/release-action@v1 with: artifacts: "dist/*"