File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -124,6 +124,12 @@ jobs:
124124 restore-keys : |
125125 windows-cargo-
126126
127+ - name : Set up Python
128+ uses : actions/setup-python@v5
129+ if : matrix.cuda == '13.0.2'
130+ with :
131+ python-version : ' 3.x'
132+
127133 - name : Install CUDA Toolkit ${{ matrix.cuda }}
128134 uses : Jimver/cuda-toolkit@v0.2.29
129135 with :
@@ -135,7 +141,7 @@ jobs:
135141 if : matrix.cuda == '13.0.2'
136142 shell : pwsh
137143 run : |
138- python - <<'PY'
144+ $pythonCode = @"
139145 from pathlib import Path
140146
141147 path = Path('Cargo.toml')
@@ -149,7 +155,8 @@ jobs:
149155 text = text.replace(stable_core, git_core, 1)
150156 text = text.replace(stable_nn, git_nn, 1)
151157 path.write_text(text)
152- PY
158+ "@
159+ python -c $pythonCode
153160
154161 - name : Upgrade Candle to git tip for CUDA 13
155162 if : matrix.cuda == '13.0.2'
You can’t perform that action at this time.
0 commit comments