Skip to content

Commit

Permalink
chore: update .github/workflows/ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Oct 6, 2021
1 parent c2b1d20 commit d7a81c3
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/ci.yml
Expand Up @@ -53,14 +53,12 @@ jobs:
filter: '[R|r]elease[d]\s+[v|V]\d(\.\d+){0,2}'

- name: Create Release
id: create_release
uses: actions/create-release@latest
uses: ncipollo/release-action@v1
if: steps.create_tag.outputs.successful
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.create_tag.outputs.version }}
release_name: ${{ steps.create_tag.outputs.version }}
token: ${{ secrets.GITHUB_TOKEN }}
name: ${{ steps.changelog.outputs.tag }}
tag: ${{ steps.changelog.outputs.tag }}
body: |
[![](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)
Expand All @@ -71,8 +69,6 @@ jobs:
${{ steps.changelog.outputs.compareurl }}
${{ steps.changelog.outputs.changelog }}
draft: false
prerelease: false
- run: npm install @jsdevtools/npm-publish -g
- run: npm-publish --token="${{ secrets.NPM_TOKEN }}" ./package.json
Expand Down

0 comments on commit d7a81c3

Please sign in to comment.