Skip to content

Commit f9add43

Browse files
committed
feat(release): allows choice
Signed-off-by: Alex Gronskiy <[email protected]>
1 parent 06b3e05 commit f9add43

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/release.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,15 @@ name: "Release NeMo-Eval"
1616
on:
1717
workflow_dispatch:
1818
inputs:
19+
component:
20+
description: Component to release
21+
required: true
22+
default: nemo-evaluator
23+
type: choice
24+
options:
25+
- nemo-evaluator
26+
- nemo-evaluator-launcher
27+
- all
1928
release-ref:
2029
description: Ref (SHA or branch name) to release
2130
required: true
@@ -43,6 +52,7 @@ permissions:
4352

4453
jobs:
4554
release:
55+
if: ${{ inputs.component == 'nemo-evaluator' || inputs.component == 'all' }}
4656
uses: NVIDIA-NeMo/FW-CI-templates/.github/workflows/[email protected]
4757
with:
4858
release-ref: ${{ inputs.release-ref || github.sha }}
@@ -68,6 +78,7 @@ jobs:
6878
BOT_KEY: ${{ secrets.BOT_KEY }}
6979

7080
release-launcher:
81+
if: ${{ inputs.component == 'nemo-evaluator-launcher' || inputs.component == 'all' }}
7182
uses: NVIDIA-NeMo/FW-CI-templates/.github/workflows/[email protected]
7283
with:
7384
release-ref: ${{ inputs.release-ref || github.sha }}

0 commit comments

Comments
 (0)