Skip to content

Commit 0246b01

Browse files
committed
ci: update workflow config.
1 parent e28ffb6 commit 0246b01

File tree

1 file changed

+10
-13
lines changed

1 file changed

+10
-13
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,18 @@ jobs:
4343

4444
- run: cp -rp coverage/lcov-report dist
4545

46-
- name: Deploy
47-
uses: peaceiris/actions-gh-pages@v4
48-
with:
49-
github_token: ${{ secrets.GITHUB_TOKEN }}
50-
publish_dir: ./dist
51-
5246
- name: Create Tag
5347
id: create_tag
5448
uses: jaywcjlove/create-tag-action@main
5549
with:
5650
package-path: ./package.json
5751

52+
- name: Deploy
53+
uses: peaceiris/actions-gh-pages@v4
54+
with:
55+
github_token: ${{ secrets.GITHUB_TOKEN }}
56+
publish_dir: ./dist
57+
5858
- name: Generate Changelog
5959
id: changelog
6060
uses: jaywcjlove/changelog-generator@main
@@ -64,14 +64,11 @@ jobs:
6464
filter-author: (小弟调调™|Renovate Bot)
6565
filter: '[R|r]elease[d]\s+[v|V]\d(\.\d+){0,2}'
6666

67-
- name: Create Release
68-
uses: ncipollo/release-action@v1
69-
if: steps.create_tag.outputs.successful
67+
- name: Create Released Tag
68+
uses: jaywcjlove/create-tag-action@main
7069
with:
71-
allowUpdates: true
72-
token: ${{ secrets.GITHUB_TOKEN }}
73-
name: ${{ steps.create_tag.outputs.version }}
74-
tag: ${{ steps.create_tag.outputs.version }}
70+
version: ${{ steps.create_tag.outputs.version }}
71+
release: true
7572
body: |
7673
[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@uiw/babel-plugin-add-import-extension@${{steps.create_tag.outputs.versionNumber}}/file/README.md) [![npm bundle size](https://img.shields.io/bundlephobia/minzip/babel-plugin-transform-remove-imports)](https://bundlephobia.com/result?p=babel-plugin-transform-remove-imports@${{steps.create_tag.outputs.versionNumber}})
7774

0 commit comments

Comments
 (0)