Merge pull request #106 from easingthemes/manual-release

fix: fix manual release action
main
Dragan Filipović 2023-01-06 21:50:57 +01:00 committed by GitHub
commit 426f06d922
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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' }}