Skip to content

Commit 32a436b

Browse files
Update python-publish.yml
1 parent 696b511 commit 32a436b

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

.github/workflows/python-publish.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,6 @@ jobs:
3131
- uses: actions/setup-python@v5
3232
with:
3333
python-version: "3.x"
34-
35-
- name: Run CUDA bash shell
36-
env:
37-
temp: ${{ runner.temp }}
38-
cuda: '12.9'
39-
run: |
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-
shell: bash
4334

4435
- name: Install Build
4536
run: |
@@ -48,10 +39,12 @@ jobs:
4839
4940
- name: Build wheels
5041
uses: pypa/[email protected]
42+
env:
43+
CIBW_BEFORE_BUILD_LINUX: "chmod +x {package}/tensor-array-repo/Tensor-Array/scripts/actions/install-cuda-ubuntu.sh && {package}/tensor-array-repo/Tensor-Array/scripts/actions/install-cuda-ubuntu.sh"
5144
with:
5245
package-dir: .
5346
output-dir: wheelhouse
54-
config-file: ./pyproject.toml
47+
config-file: "{package}/pyproject.toml"
5548

5649
- name: Upload distributions
5750
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)