Skip to content

Commit b2dd0fa

Browse files
committed
push libpccl as release artifact
1 parent 2ae4f54 commit b2dd0fa

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/publish.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ jobs:
286286
asset_name: ${{ steps.find_wheel_unix.outputs.wheel_name }}
287287
asset_content_type: application/zip
288288

289-
- name: Upload Release Asset (Windows)
289+
- name: Upload Wheel Release Asset (Windows)
290290
if: runner.os == 'Windows'
291291
uses: actions/upload-release-asset@v1
292292
env:
@@ -295,4 +295,14 @@ jobs:
295295
upload_url: ${{ needs.create_release.outputs.upload_url }}
296296
asset_path: ${{ steps.find_wheel_windows.outputs.wheel_path }}
297297
asset_name: ${{ steps.find_wheel_windows.outputs.wheel_name }}
298-
asset_content_type: application/zip
298+
asset_content_type: application/zip
299+
300+
- name: Upload Build Release Asset
301+
uses: actions/upload-release-asset@v1
302+
env:
303+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
304+
with:
305+
upload_url: ${{ needs.create_release.outputs.upload_url }}
306+
asset_path: ${{ steps.strings-unix.outputs.build-output-dir }}/*.pccl.*
307+
asset_name: libpccl-${{ runner.os }}-${{ matrix.build_type }}-${{ matrix.pccl_build_cuda_support == 'ON' && 'cuda' || 'nocuda' }}-${{ matrix.is_host_arch && 'host' || 'cross' }}.zip
308+
asset_content_type: application/zip

0 commit comments

Comments
 (0)