fix: fix manual release action
This commit is contained in:
parent
4c8eee72bd
commit
245b7a9d2f
9
.github/workflows/manual-release.yml
vendored
9
.github/workflows/manual-release.yml
vendored
@ -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' }}
|
||||||
|
Loading…
Reference in New Issue
Block a user