Test release on PyPI #444
This file contains 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: Test release upload | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
jobs: | |
test_pypi_release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v5 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
- name: Publish to Test PyPi | |
env: | |
UV_PUBLISH_TOKEN: ${{ secrets.TEST_PYPI_TOKEN }} | |
run: | | |
uv build | |
uv publish --index testpypi |