File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -206,6 +206,17 @@ jobs:
206
206
Copy-Item -Path "${{ steps.strings-windows.outputs.build-output-dir }}\*pccl.*" -Destination artifacts\lib
207
207
Copy-Item -Path ".\include\*.h" -Destination artifacts\include
208
208
209
+ - name : Zip artifacts (Unix)
210
+ if : runner.os != 'Windows'
211
+ run : |
212
+ zip -r artifacts/libpccl.zip artifacts/lib artifacts/include
213
+
214
+ - name : Zip artifacts (Windows)
215
+ if : runner.os == 'Windows'
216
+ shell : powershell
217
+ run : |
218
+ Compress-Archive -Path artifacts\lib, artifacts\include -DestinationPath artifacts\libpccl.zip
219
+
209
220
- name : Create Python virtual environment (Unix)
210
221
if : ${{ runner.os != 'Windows' && matrix.is_host_arch }}
211
222
run : python3 -m venv ${{ github.workspace }}/venv
@@ -303,6 +314,6 @@ jobs:
303
314
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
304
315
with :
305
316
upload_url : ${{ needs.create_release.outputs.upload_url }}
306
- asset_path : artifacts/*
317
+ asset_path : artifacts/libpccl.zip
307
318
asset_name : libpccl-${{ runner.os }}-${{ matrix.build_type }}-${{ matrix.pccl_build_cuda_support == 'ON' && 'cuda' || 'nocuda' }}-${{ matrix.is_host_arch && 'host' || 'cross' }}.zip
308
319
asset_content_type : application/zip
You can’t perform that action at this time.
0 commit comments