From 2ec674d463981a4be0bdedfa94e9d2aa8d82c3ce Mon Sep 17 00:00:00 2001 From: Harish P Date: Fri, 7 Feb 2025 17:33:44 +0530 Subject: [PATCH] updated release action (#69) --- .github/workflows/release.yaml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 2768253..e7fb386 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,15 +1,23 @@ name: Release GoNVMe # Invocable as a reusable workflow # Can be manually triggered -on: # yamllint disable-line rule:truthy +on: # yamllint disable-line rule:truthy workflow_call: workflow_dispatch: inputs: - version: - description: 'Version to release (major, minor, patch) Ex: 1.0.0' + option: + description: 'Select version to release' required: true + type: choice + default: 'minor' + options: + - major + - minor + - patch jobs: csm-release: uses: dell/common-github-actions/.github/workflows/csm-release-libs.yaml@main name: Release Go Client Libraries + with: + version: ${{ github.event.inputs.option }} secrets: inherit