Bump version to 0.9.8.8; refactor imports and clean up code for impro… #105
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Publish to PyPI | |
| on: | |
| push: | |
| paths: | |
| - 'pyproject.toml' | |
| jobs: | |
| publish: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| - name: Install UV | |
| run: | | |
| pip install uv | |
| - name: Install dependencies | |
| run: | | |
| uv sync | |
| - name: Build package | |
| run: | | |
| uv build --sdist --wheel | |
| - name: Publish to PyPI | |
| env: | |
| PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} | |
| run: | | |
| uv publish --token $PYPI_TOKEN |