Skip to content

Commit e328bd3

Browse files
committed
fix: build & deploy wheel as well
Instead of only sdist
1 parent f1c389a commit e328bd3

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/deploy.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,27 +11,27 @@ on:
1111
- published
1212

1313
jobs:
14-
build_sdist:
15-
name: Build SDist
14+
build_dist:
15+
name: Build Dist
1616
runs-on: ubuntu-latest
1717
steps:
1818
- uses: actions/checkout@v4
1919
with:
2020
submodules: true
2121

22-
- name: Build SDist
23-
run: pipx run build --sdist
22+
- name: Build Dist
23+
run: pipx run build
2424

2525
- name: Check Metadata
2626
run: pipx run twine check --strict dist/*
2727

2828
- uses: actions/upload-artifact@v4
2929
with:
30-
path: dist/*.tar.gz
30+
path: dist/
3131

3232
upload_all:
3333
name: Upload if release
34-
needs: [build_sdist]
34+
needs: [build_dist]
3535
runs-on: ubuntu-latest
3636
if: github.event_name == 'release' && github.event.action == 'published'
3737
environment:
@@ -48,7 +48,7 @@ jobs:
4848
- uses: actions/download-artifact@v4
4949
with:
5050
name: artifact
51-
path: dist
51+
path: dist/
5252

5353
- name: Publish to PyPI
5454
uses: pypa/[email protected]

0 commit comments

Comments
 (0)