Skip to content

Commit

Permalink
updated release action (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
harishp8889 authored Feb 7, 2025
1 parent 7a683a7 commit 2ec674d
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -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

Check warning on line 4 in .github/workflows/release.yaml

View workflow job for this annotation

GitHub Actions / Golang Validation / Yaml Lint

4:5 [comments] too few spaces before comment
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

0 comments on commit 2ec674d

Please sign in to comment.