Skip to content

Commit

Permalink
removing check for python version for publish
Browse files Browse the repository at this point in the history
  • Loading branch information
Vibaswan authored Sep 30, 2024
1 parent 2b00412 commit 4d73c6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/*"
Expand Down

0 comments on commit 4d73c6e

Please sign in to comment.