We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
hatch build
uv build
1 parent 7df4ffb commit 8200dfeCopy full SHA for 8200dfe
.github/workflows/release.yml
@@ -15,13 +15,25 @@ jobs:
15
steps:
16
- uses: actions/checkout@v6
17
with:
18
+ fetch-depth: 0
19
+ fetch-tags: true
20
persist-credentials: false
21
22
- name: Set up uv
23
uses: astral-sh/setup-uv@v7
24
+ with:
25
+ activate-environment: true
26
+ enable-cache: true
27
+ python-version: "3.14"
28
+
29
+ - name: Set up Hatch and Twine
30
+ run: uv pip install hatch twine
31
32
- name: Build package
- run: uv build
33
+ run: hatch build
34
35
+ - name: Validate package
36
+ run: twine check dist/*
37
38
- name: Publish package to PyPI
39
if: startsWith(github.event.ref, 'refs/tags')
0 commit comments