Skip to content

Commit 14f0b36

Browse files
committed
Construct .whl using the build library
Upload the whl as an artifact which can make it easier to test the packages wheels.
1 parent 37e5419 commit 14f0b36

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,8 +248,13 @@ jobs:
248248
cache: pip
249249
- name: Build Wheel
250250
run: |
251-
python -m pip install setuptools wheel
252-
python setup.py bdist_wheel
251+
pip install build
252+
python -m build --wheel
253+
- name: Upload Wheel
254+
uses: actions/upload-artifact@v4
255+
with:
256+
name: wheel
257+
path: dist/*.whl
253258

254259
analyze:
255260
name: analyze

0 commit comments

Comments
 (0)