File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -236,7 +236,7 @@ jobs:
236
236
237
237
- name : Find Python wheel (Unix)
238
238
if : runner.os != 'Windows'
239
- id : find_wheel
239
+ id : find_wheel_unix
240
240
shell : bash
241
241
run : |
242
242
for file in "${{ github.workspace }}/python/framework/dist/"*pccl*.whl; do
@@ -247,7 +247,7 @@ jobs:
247
247
248
248
- name : Find Python wheel (Windows)
249
249
if : runner.os == 'Windows'
250
- id : find_wheel
250
+ id : find_wheel_windows
251
251
shell : powershell
252
252
run : |
253
253
$file = Get-ChildItem -Path "${{ github.workspace }}\python\framework\dist" -Filter "*pccl*.whl" | Select-Object -First 1
@@ -260,6 +260,6 @@ jobs:
260
260
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
261
261
with :
262
262
upload_url : ${{ needs.create_release.outputs.upload_url }}
263
- asset_path : ${{ steps.find_wheel .outputs.wheel_path }}
264
- asset_name : ${{ steps.find_wheel .outputs.wheel_name }}
263
+ asset_path : ${{ runner.os == 'Windows' && steps.find_wheel_windows.outputs.wheel_path || steps.find_wheel_unix .outputs.wheel_path }}
264
+ asset_name : ${{ runner.os == 'Windows' && steps.find_wheel_windows.outputs.wheel_name || steps.find_wheel_unix .outputs.wheel_name }}
265
265
asset_content_type : application/zip
You can’t perform that action at this time.
0 commit comments