v0.1.0 #2
Workflow file for this run
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: 📦️ Upload to PyPi | |
on: | |
release: | |
types: | |
- published | |
jobs: | |
upload: | |
runs-on: ubuntu-latest | |
environment: release | |
permissions: | |
id-token: write | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
# We are pinning uv to lower version to workaround the existing | |
# bugs in setuptools build system. We can unpin onces the issue | |
# is resolved in upstream repos. | |
# Bug: https://github.com/pypa/setuptools/issues/4759 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v4 | |
with: | |
version: '0.4.22' | |
- name: Publish to pypi | |
run: | | |
uv build | |
uv publish --trusted-publishing always |