File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " Publish"
2+
3+ on :
4+ push :
5+ tags :
6+ # Publish on any tag starting with a `v`, e.g., v0.1.0
7+ - v*
8+
9+ jobs :
10+ run :
11+ runs-on : ubuntu-latest
12+ environment :
13+ name : pypi
14+ permissions :
15+ id-token : write
16+ contents : read
17+ steps :
18+ - name : Checkout
19+ uses : actions/checkout@v5
20+ - name : Install uv
21+ uses : astral-sh/setup-uv@v6
22+ - name : Build
23+ run : uv build
24+ # Check that basic features work and we didn't miss to include crucial files
25+ - name : Smoke test (wheel)
26+ run : uv run --isolated --no-project --with dist/*.whl tests/smoke_test.py
27+ - name : Smoke test (source distribution)
28+ run : uv run --isolated --no-project --with dist/*.tar.gz tests/smoke_test.py
29+ - name : Publish
30+ run : uv publish
You can’t perform that action at this time.
0 commit comments