Skip to content

Commit 9b55a01

Browse files
committed
Update publish workflow
1 parent 0ed94d0 commit 9b55a01

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

.github/workflows/publish.yaml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "Publish"
1+
name: Publish
22

33
on:
44
push:
@@ -16,16 +16,21 @@ jobs:
1616
steps:
1717
- name: Checkout
1818
uses: actions/checkout@v5
19+
20+
- name: Setup Python 3.13
21+
uses: actions/setup-python@v6
22+
with:
23+
python-version: '3.13'
24+
1925
- name: Install uv
20-
uses: astral-sh/setup-uv@v6
26+
uses: astral-sh/setup-uv@v7
27+
2128
- name: Install Python 3.13
2229
run: uv python install 3.13
30+
2331
- name: Build
2432
run: uv build
25-
# Check that basic features work and we didn't miss to include crucial files
26-
# - name: Smoke test (wheel)
27-
# run: uv run --isolated --no-project --with dist/*.whl tests/smoke_test.py
28-
# - name: Smoke test (source distribution)
29-
# run: uv run --isolated --no-project --with dist/*.tar.gz tests/smoke_test.py
33+
34+
# https://docs.astral.sh/uv/guides/integration/github/#publishing-to-pypi
3035
- name: Publish
3136
run: uv publish

0 commit comments

Comments
 (0)