Skip to content

Commit 52c5a99

Browse files
ci: add workflow dispatch tag var
1 parent 3abcf56 commit 52c5a99

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/csharp_release.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,19 @@
33
on:
44
release:
55
types: [ published ] # Trigger on published pre-releases and releases
6-
workflow_dispatch:
6+
workflow_dispatch:
7+
inputs:
8+
tag:
9+
description: 'Tag name'
10+
required: true
11+
default: 'v4.1.0'
712

813
jobs:
914
variables:
1015
name: Set Variables
1116
runs-on: ubuntu-latest
1217
env:
13-
TAG: ${{ github.event.release.tag_name }}
18+
TAG: ${{ github.event.release.tag_name || github.event.inputs.tag }}
1419
steps:
1520
- name: Extract semantic version from tag
1621
id: set_version

0 commit comments

Comments
 (0)