@@ -37,20 +37,21 @@ jobs:
37
37
temp : ${{ runner.temp }}
38
38
cuda : ' 12.9'
39
39
run : |
40
- chmod +x ${{ github.workspace }} /tensor-array-repo/Tensor-Array/scripts/actions/install-cuda-ubuntu.sh
41
- ${{ github.workspace }} /tensor-array-repo/Tensor-Array/scripts/actions/install-cuda-ubuntu.sh
40
+ chmod +x . /tensor-array-repo/Tensor-Array/scripts/actions/install-cuda-ubuntu.sh
41
+ . /tensor-array-repo/Tensor-Array/scripts/actions/install-cuda-ubuntu.sh
42
42
43
- - name : Build release distributions
44
- run : |
45
- # NOTE: put your own distribution build steps here.
46
- python -m pip install build
47
- python -m build
43
+ - name : Build wheels
44
+ uses : pypa/cibuildwheel@v3.0.1
45
+ with :
46
+ package-dir : .
47
+ output-dir : wheelhouse
48
+ config-file : ./pyproject.toml
48
49
49
50
- name : Upload distributions
50
51
uses : actions/upload-artifact@v4
51
52
with :
52
53
name : release-dists
53
- path : dist /
54
+ path : wheelhouse /
54
55
55
56
pypi-publish :
56
57
runs-on : ubuntu-latest
@@ -77,12 +78,12 @@ jobs:
77
78
uses : actions/download-artifact@v4
78
79
with :
79
80
name : release-dists
80
- path : dist /
81
+ path : wheelhouse /
81
82
82
83
- name : Publish release distributions to PyPI
83
84
uses : pypa/gh-action-pypi-publish@release/v1
84
85
with :
85
- packages-dir : dist /
86
+ packages-dir : wheelhouse /
86
87
87
88
testpypi-publish :
88
89
runs-on : ubuntu-latest
@@ -109,11 +110,11 @@ jobs:
109
110
uses : actions/download-artifact@v4
110
111
with :
111
112
name : release-dists
112
- path : dist /
113
+ path : wheelhouse /
113
114
114
115
- name : Publish release distributions to TestPyPI
115
116
uses : pypa/gh-action-pypi-publish@release/v1
116
117
with :
117
118
repository-url : https://test.pypi.org/legacy/
118
- packages-dir : dist /
119
+ packages-dir : wheelhouse /
119
120
0 commit comments