ci: Add condition to PyPI publish step in release workflow (#4585)

Add condition to PyPI publish step in release workflow
This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-11-13 20:42:11 -03:00 committed by GitHub
commit c8ac7e671d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -103,6 +103,7 @@ jobs:
echo "Server terminated successfully"
fi
- name: Publish to PyPI
if: steps.check-version.outputs.skipped == 'false'
env:
UV_PUBLISH_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
run: |