Skip to content

Commit d7a81c3

Browse files
committed
chore: update .github/workflows/ci.yml
1 parent c2b1d20 commit d7a81c3

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,12 @@ jobs:
5353
filter: '[R|r]elease[d]\s+[v|V]\d(\.\d+){0,2}'
5454

5555
- name: Create Release
56-
id: create_release
57-
uses: actions/create-release@latest
56+
uses: ncipollo/release-action@v1
5857
if: steps.create_tag.outputs.successful
59-
env:
60-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6158
with:
62-
tag_name: ${{ steps.create_tag.outputs.version }}
63-
release_name: ${{ steps.create_tag.outputs.version }}
59+
token: ${{ secrets.GITHUB_TOKEN }}
60+
name: ${{ steps.changelog.outputs.tag }}
61+
tag: ${{ steps.changelog.outputs.tag }}
6462
body: |
6563
[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/create-kkt@${{steps.create_tag.outputs.versionNumber}}/file/README.md)
6664
@@ -71,8 +69,6 @@ jobs:
7169
${{ steps.changelog.outputs.compareurl }}
7270
7371
${{ steps.changelog.outputs.changelog }}
74-
draft: false
75-
prerelease: false
7672
7773
- run: npm install @jsdevtools/npm-publish -g
7874
- run: npm-publish --token="${{ secrets.NPM_TOKEN }}" ./package.json

0 commit comments

Comments
 (0)