File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ name: Publish Release
2
2
3
3
on :
4
4
push :
5
- branches : [ "main" ]
6
5
tags :
7
6
- release/*
8
7
@@ -220,4 +219,18 @@ jobs:
220
219
uses : actions/upload-artifact@v4
221
220
with :
222
221
name : pypccl-${{ runner.os }}-${{ matrix.build_type }}-${{ matrix.pccl_build_cuda_support == 'ON' && 'cuda' || 'nocuda' }}-${{ github.run_id }}
223
- path : ./python/framework/dist/pypccl-*.whl
222
+ path : ./python/framework/dist/pypccl-*.whl
223
+
224
+ - name : Publish GitHub Release
225
+ uses : actions/create-release@v1
226
+ with :
227
+ tag_name : ${{ github.ref }}
228
+ release_name : Release ${{ github.ref }}
229
+
230
+ - name : Upload Release Assets
231
+ uses : actions/upload-release-asset@v1
232
+ with :
233
+ upload_url : ${{ steps.create_release.outputs.upload_url }}
234
+ asset_path : ${{ github.workspace }}/python/framework/dist/pypccl-*.whl
235
+ asset_name : pypccl-${{ runner.os }}-${{ matrix.build_type }}-${{ matrix.pccl_build_cuda_support == 'ON' && 'cuda' || 'nocuda' }}-${{ github.run_id }}.whl
236
+ asset_content_type : application/zip
You can’t perform that action at this time.
0 commit comments