Release New PyPi Version #1
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: Release New PyPi Version | |
| on: | |
| workflow_dispatch: # This event allows manual triggering | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v5 | |
| - name: Setup Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: 3.13.x | |
| - name: Poetry cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.cache/pypoetry | |
| key: poetry-cache | |
| - name: Install Poetry | |
| uses: snok/install-poetry@v1 | |
| - name: Install dependencies | |
| run: poetry install --all-extras | |
| - name: Upload to PyPI | |
| env: | |
| PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }} | |
| run: poetry publish --build -u __token__ -p $PYPI_PASSWORD |