File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -204,7 +204,8 @@ jobs:
204
204
- name : Collect dependencies
205
205
shell : cmd
206
206
run : |
207
- FOR /F "tokens=* USEBACKQ" %%F IN (`python -c "{{ env.VER_SCRIPT1 }} {{ env.VER_SCRIPT2 }}"`) DO (
207
+ set "SCRIPT=%VER_SCRIPT1% %VER_SCRIPT2%"
208
+ FOR /F "tokens=* USEBACKQ" %%F IN (`python -c "%SCRIPT%"`) DO (
208
209
SET PACKAGE_VERSION=%%F
209
210
)
210
211
conda install ${{ env.PACKAGE_NAME }}=${{ env.PACKAGE_VERSION }}} python=${{ matrix.python }} -c ${{ env.GITHUB_WORKSPACE }}/channel ${{ env.CHANNELS }} --only-deps --dry-run > lockfile
@@ -223,7 +224,8 @@ jobs:
223
224
run : conda install opencl_rt -c intel --override-channels
224
225
- name : Install dpctl
225
226
run : |
226
- FOR /F "tokens=* USEBACKQ" %%F IN (`python -c "{{ env.VER_SCRIPT1 }} {{ env.VER_SCRIPT2 }}"`) DO (
227
+ set "SCRIPT=%VER_SCRIPT1% %VER_SCRIPT2%"
228
+ FOR /F "tokens=* USEBACKQ" %%F IN (`python -c "%SCRIPT%"`) DO (
227
229
SET PACKAGE_VERSION=%%F
228
230
)
229
231
conda install ${{ env.PACKAGE_NAME }}=${{ env.PACKAGE_VERSION }} pytest python=${{ matrix.python }} -c ${{ env.GITHUB_WORKSPACE }}/channel ${{ env.CHANNELS }}
You can’t perform that action at this time.
0 commit comments