We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4aa0e6a commit 6f08fb5Copy full SHA for 6f08fb5
.github/workflows/branch-main.yml
@@ -20,8 +20,8 @@ jobs:
20
if: ( github.event.pull_request.merged == true && startsWith(github.head_ref, 'rc/') || github.event_name == 'workflow_dispatch' )
21
runs-on: ubuntu-latest
22
outputs:
23
- RELEASE_VERSION: ${{ steps.set_vars.outputs.RELEASE_VERSION }}
24
- RELEASE_CANDIDATE_VERSION: ${{ steps.set_vars.outputs.RELEASE_CANDIDATE_VERSION }}
+ RELEASE_VERSION: ${{ github.event_name == 'workflow_dispatch' && inputs.release_version || steps.set_vars.outputs.RELEASE_VERSION }}
+ RELEASE_CANDIDATE_VERSION: ${{ github.event_name == 'workflow_dispatch' && format('{0}-rc', inputs.release_version) || steps.set_vars.outputs.RELEASE_CANDIDATE_VERSION }}
25
steps:
26
- name: Set release version
27
id: set_vars
0 commit comments