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