Skip to content

Commit 40752b3

Browse files
committed
make sure hatch builds files before releasing
1 parent 294a01e commit 40752b3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ jobs:
3232
permissions:
3333
id-token: write
3434
steps:
35+
- name: Install hatch
36+
run: pip install hatch
37+
- name: Build a binary wheel and a source tarball
38+
run: hatch build
3539
- name: Publish distribution to PyPI
3640
uses: pypa/gh-action-pypi-publish@release/v1
3741

@@ -48,6 +52,10 @@ jobs:
4852
id-token: write # IMPORTANT: mandatory for sigstore
4953

5054
steps:
55+
- name: Install hatch
56+
run: pip install hatch
57+
- name: Build a binary wheel and a source tarball
58+
run: hatch build
5159
- name: Sign the dists with Sigstore
5260
uses: sigstore/gh-action-sigstore-python@v2.1.1
5361
with:

0 commit comments

Comments
 (0)