File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -11,10 +11,9 @@ name: Publish release
1111on :
1212 workflow_dispatch :
1313 inputs :
14- branch_name :
15- description : Branch to build from
16- default : develop
17- required : true
14+ # release_version:
15+ # This input parameter specifies the release version number for the workflow.
16+ # Value is used to checkout the correct branch or tag
1817 release_version :
1918 description : Release version number
2019 required : true
3433 - uses : actions/checkout@v4
3534 if : github.event_name == 'workflow_dispatch'
3635 with :
37- ref : ' ${{ github.event.inputs.branch_name }}'
36+ ref : ' ${{ github.event.inputs.release_version }}'
3837
3938 - uses : actions/checkout@v4
4039 if : github.event_name == 'push'
8988 - uses : actions/checkout@v4
9089 if : github.event_name == 'workflow_dispatch'
9190 with :
92- ref : ' ${{ github.event.inputs.branch_name }}'
91+ ref : ' ${{ github.event.inputs.release_version }}'
9392
9493 - uses : actions/checkout@v4
9594 if : github.event_name == 'push'
You can’t perform that action at this time.
0 commit comments