fix: fix manual release action

main
Dragan Filipovic 2023-01-06 21:50:25 +01:00
parent 4c8eee72bd
commit 245b7a9d2f
1 changed files with 4 additions and 5 deletions

View File

@ -6,11 +6,10 @@ on:
description: 'Version'
type: choice
required: true
default: patch
default: fix
options:
- patch
- minor
- major
- fix
- feat
dryRun:
description: 'DryRun'
type: boolean
@ -64,7 +63,7 @@ jobs:
run: npm run build --if-present
- name: Run Tests
run: npm test --if-present
- name: Publish npm package
- name: Create a release - ${{ github.event.inputs.version }}
uses: cycjimmy/semantic-release-action@v3
with:
dry_run: ${{ github.event.inputs.dryRun == 'true' }}