File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -234,12 +234,19 @@ jobs:
234
234
name : pypccl-${{ runner.os }}-${{ matrix.build_type }}-${{ matrix.pccl_build_cuda_support == 'ON' && 'cuda' || 'nocuda' }}-${{ github.run_id }}
235
235
path : ./python/framework/dist/pypccl-*.whl
236
236
237
+ - name : Find Python wheel
238
+ id : find_wheel
239
+ run : |
240
+ path=$(ls "${{ github.workspace }}/python/framework/dist/"*pccl*.whl)
241
+ echo "wheel_path=$path" >> "$GITHUB_OUTPUT"
242
+ echo "wheel_name=$(basename "$path")" >> "$GITHUB_OUTPUT"
243
+
237
244
- name : Upload Release Asset
238
245
uses : actions/upload-release-asset@v1
239
246
env :
240
247
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
241
248
with :
242
249
upload_url : ${{ needs.create_release.outputs.upload_url }}
243
- asset_path : ./python/framework/dist/pypccl-*.whl
244
- asset_name : pypccl- ${{ matrix.os }}-${{ matrix.build_type }}-${{ matrix.pccl_build_cuda_support == 'ON' && 'cuda' || 'nocuda' }}-${{ github.run_id }}.whl
250
+ asset_path : ${{ steps.find_wheel.outputs.wheel_path }}
251
+ asset_name : ${{ steps.find_wheel.outputs.wheel_name }}
245
252
asset_content_type : application/zip
You can’t perform that action at this time.
0 commit comments