File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed
Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -172,17 +172,15 @@ jobs:
172172 & "$env:build_location\python\python.exe" -m pip install --upgrade packaging==25.0
173173 & "$env:build_location\python\python.exe" -c "from wppm import wppm;dist=wppm.Distribution();dist.patch_standard_packages('pip', to_movable=True)"
174174
175- - name : Download requirements to $env:dotwheelhouse
176- if : env.WINPYREQUIREMENTS != ''
177- shell : pwsh
178- run : |
179- & "$env:build_location\python\python.exe" -m pip download --dest $env:dotwheelhouse --no-deps --require-hashes -r $env:WINPYREQUIREMENTS
180-
181- - name : Download requirements to $env:dotwheelhouse
182- if : env.WINPYREQUIREMENTSwhl != ''
175+ - name : Download all requirements
176+ if : ${{ env.WINPYREQUIREMENTS != '' }}
183177 shell : pwsh
184178 run : |
185- & "$env:build_location\python\python.exe" -m pip download --dest $env:destwheelhouse --no-deps --require-hashes -r $env:WINPYREQUIREMENTSwhl
179+ $py = "$env:build_location\python\python.exe"
180+ & $py -m pip download --dest $env:dotwheelhouse --no-deps --require-hashes -r $env:WINPYREQUIREMENTS
181+ if ($env:WINPYREQUIREMENTSwhl -ne '') {
182+ & $py -m pip download --dest $env:destwheelhouse --no-deps --require-hashes -r $env:WINPYREQUIREMENTSwhl
183+ }
186184
187185 - name : Install requirements
188186 if : env.WINPYREQUIREMENTS != ''
You can’t perform that action at this time.
0 commit comments