diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 91ed55e9..bdf49394 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,14 +1,23 @@ name: Release GoPowerscale # 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