Skip to content

Commit 2ddd610

Browse files
authored
Fix for build workflow (#4879)
1 parent 1157389 commit 2ddd610

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/publish.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,16 @@ jobs:
2020
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
2121
with:
2222
python-version: "3.12"
23+
- name: Install build tools
24+
run: python -m pip install build
2325
- name: Build sdist
24-
run: python -m build --sdist
26+
run: python -m build --sdist lib/
2527
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
2628
with:
2729
name: artifact-sdist
2830
path: dist/*.tar.gz
2931
- name: Build wheel
30-
run: python -m build --wheel
32+
run: python -m build --wheel lib/
3133
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
3234
with:
3335
name: artifact-wheel

0 commit comments

Comments
 (0)