Skip to content

Commit 8b23a14

Browse files
committed
chore: update .github/workflows/ci.yml
1 parent f719f1b commit 8b23a14

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
@@ -41,14 +41,12 @@ jobs:
4141
filter: '[R|r]elease[d]\s+[v|V]\d(\.\d+){0,2}'
4242

4343
- name: Create Release
44-
id: create_release
45-
uses: actions/create-release@latest
44+
uses: ncipollo/release-action@v1
4645
if: steps.create_tag.outputs.successful
47-
env:
48-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4946
with:
50-
tag_name: ${{ steps.create_tag.outputs.version }}
51-
release_name: ${{ steps.create_tag.outputs.version }}
47+
token: ${{ secrets.GITHUB_TOKEN }}
48+
name: ${{ steps.create_tag.outputs.version }}
49+
tag: ${{ steps.create_tag.outputs.version }}
5250
body: |
5351
[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@uiw/react-codepen@${{ steps.create_tag.outputs.versionNumber }}/file/README.md)
5452
@@ -59,8 +57,6 @@ jobs:
5957
${{ steps.changelog.outputs.compareurl }}
6058
6159
${{ steps.changelog.outputs.changelog }}
62-
draft: false
63-
prerelease: false
6460
6561
- run: git status
6662
- run: npm install @jsdevtools/npm-publish -g

0 commit comments

Comments
 (0)