Skip to content

Commit 17e82c0

Browse files
committed
chore: updated the release workflow to allow for no component name input and added a step to build all components
1 parent 87c5286 commit 17e82c0

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/dispatch-ui-publish-alpha.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
description: |
99
输入需要打包的组件名称,多个以空格分隔,
1010
例如: `input alert`.
11-
required: true
11+
required: false
1212
type: string
1313
concurrency:
1414
group: ${{ github.workflow }}-${{ github.sha }}
@@ -49,8 +49,13 @@ jobs:
4949
run: pnpm i --no-frozen-lockfile
5050

5151
- name: Run Build Components
52+
if: inputs.components != ''
5253
run: pnpm build:ui ${{ inputs.components }}
5354

55+
- name: Run Build All Components
56+
if: inputs.components == ''
57+
run: pnpm build:ui
58+
5459
- name: Run Release alpha
5560
run: pnpm release:alpha -u
5661

packages/vue/src/year-table/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
"//postversion": "pnpm build"
1313
},
1414
"dependencies": {
15-
"@opentiny/utils": "workspace:~",
1615
"@opentiny/vue-common": "workspace:~",
1716
"@opentiny/vue-renderless": "workspace:~",
1817
"@opentiny/vue-theme": "workspace:~"

0 commit comments

Comments
 (0)