File tree Expand file tree Collapse file tree 1 file changed +8
-12
lines changed Expand file tree Collapse file tree 1 file changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -17,22 +17,18 @@ jobs:
17
17
uses : actions/setup-python@v5
18
18
with :
19
19
python-version : 3.x
20
- - name : Build sdist
21
- run : python setup.py sdist
22
- - name : Save sdist
23
- uses : actions/upload-artifact@v4
24
- with :
25
- path : dist/*.tar.gz
26
- - name : Install wheel
27
- run : pip install wheel
28
- - name : Build wheel
20
+ - name : Install build
21
+ run : pip install build
22
+ - name : Build sdist & wheel
23
+ run : python -m build
29
24
env :
30
25
BUILD_EXTENSION : no
31
- run : python setup.py bdist_wheel
32
- - name : Save wheel
26
+ - name : Save sdist & wheel
33
27
uses : actions/upload-artifact@v4
34
28
with :
35
- path : dist/*.whl
29
+ path : |
30
+ dist/*.tar.gz
31
+ dist/*.whl
36
32
37
33
wheels :
38
34
name : Build architecture-specific wheels on ${{ matrix.os }}
You can’t perform that action at this time.
0 commit comments