Skip to content

Commit e200b0f

Browse files
committed
Create release and upload wheel as asset
1 parent 96afad5 commit e200b0f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/build_wheel.yml

+11
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ on:
1414
vtk_short_version:
1515
description: "VTK short version"
1616
default: "9.4"
17+
type: string
18+
tag_name:
19+
description: "Tag name"
20+
default: "v9.4.1-py3.12"
21+
type: string
1722

1823

1924
jobs:
@@ -53,3 +58,9 @@ jobs:
5358
uses: actions/upload-artifact@v4
5459
with:
5560
path: VTK-${{ github.event.inputs.vtk_full_version }}/build/dist/*.whl
61+
62+
- name: Release
63+
uses: softprops/action-gh-release@v2
64+
with:
65+
files: VTK-${{ github.event.inputs.vtk_full_version }}/build/dist/*.whl
66+
tag_name: ${{ github.event.inputs.tag_name }}

0 commit comments

Comments
 (0)