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 : 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+ permissions :
9+ contents : read
10+
11+ jobs :
12+ run :
13+ runs-on : ubuntu-latest
14+ environment :
15+ name : pypi
16+ permissions :
17+ id-token : write
18+ contents : read
19+ steps :
20+ - name : Checkout
21+ uses : actions/checkout@v6
22+ - name : Install uv
23+ uses : astral-sh/setup-uv@v7
24+ - name : Install Python 3.14
25+ run : uv python install 3.14
26+ - name : Build
27+ run : uv build
28+ # # Check that basic features work and we didn't miss to include crucial files
29+ # - name: Smoke test (wheel)
30+ # run: uv run --isolated --no-project --with dist/*.whl tests/smoke_test.py
31+ # - name: Smoke test (source distribution)
32+ # run: uv run --isolated --no-project --with dist/*.tar.gz tests/smoke_test.py
33+ - name : Publish
34+ run : uv publish
You can’t perform that action at this time.
0 commit comments