File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -88,12 +88,11 @@ jobs:
8888 - name : Save Wheel Package as Artifact
8989 uses : actions/upload-artifact@v4
9090 with :
91- name : wheelhouse-${{ matrix.buildplat.platform }}-${{ matrix.python-version }}
91+ name : wheelhouse-${{ matrix.buildplat.platform }}-${{ matrix.python-version[1] }}
9292 path : wheelhouse/*.whl
9393
94-
9594 package_source :
96- runs-on : ubuntu-latest # 可以在任何平台上执行,这里假设选择Ubuntu
95+ runs-on : ubuntu-latest
9796
9897 steps :
9998 - name : Checkout code
@@ -102,15 +101,15 @@ jobs:
102101 - name : Set up Python (for creating source distribution)
103102 uses : actions/setup-python@v2
104103 with :
105- python-version : ' 3.11' # 您可以选择一个合适的Python版本来构建源码包
104+ python-version : ' 3.11'
106105
107106 - name : Install common dependencies
108107 run : |
109108 python -m pip install --upgrade pip
110109 pip install Cython numpy pybind11 scipy
111110
112111 - name : Create source distribution
113- run : python setup.py sdist # 假设您的项目有一个setup.py文件
112+ run : python setup.py sdist
114113
115114 - name : Move source distribution to specific directory
116115 run : |
You can’t perform that action at this time.
0 commit comments