File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ tags :
6+ # Publish on any tag starting with a `v`, e.g. v1.2.3
7+ - v*
8+
9+ jobs :
10+ pypi :
11+ name : Publish to PyPI
12+ runs-on : ubuntu-latest
13+ # Environment and permissions trusted publishing.
14+ environment :
15+ # Create this environment in the GitHub repository under Settings -> Environments
16+ name : release
17+ permissions :
18+ id-token : write
19+ steps :
20+ - uses : actions/checkout@v4
21+ - uses : astral-sh/setup-uv@v3
22+ - run : uv build
23+ # # Check that basic features work and we didn't miss to include crucial files
24+ # - name: Smoke test (wheel)
25+ # run: uv run --isolated --no-project -p 3.13 --with dist/*.whl tests/smoke_test.py
26+ # - name: Smoke test (source distribution)
27+ # run: uv run --isolated --no-project -p 3.13 --with dist/*.tar.gz tests/smoke_test.py
28+ - run : uv publish --trusted-publishing always
You can’t perform that action at this time.
0 commit comments