Skip to content

Commit

Permalink
make release type a choice input
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-bromann committed Sep 8, 2022
1 parent 4e76ca4 commit dd042a6
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,14 @@ on:
workflow_dispatch:
inputs:
releaseType:
description: 'Release type - major, minor or patch'
description: "Release Type"
required: true
default: 'patch'
type: choice
default: "patch"
options:
- patch
- minor
- major

env:
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
Expand Down

0 comments on commit dd042a6

Please sign in to comment.