From 17e82c0c1d59c1539b402a44b5ed281a19c0b1a1 Mon Sep 17 00:00:00 2001 From: ajaxzheng <894103554@qq.com> Date: Mon, 7 Apr 2025 17:31:49 +0800 Subject: [PATCH] chore: updated the release workflow to allow for no component name input and added a step to build all components --- .github/workflows/dispatch-ui-publish-alpha.yml | 7 ++++++- packages/vue/src/year-table/package.json | 1 - 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dispatch-ui-publish-alpha.yml b/.github/workflows/dispatch-ui-publish-alpha.yml index aab01eea67..e5815718e8 100644 --- a/.github/workflows/dispatch-ui-publish-alpha.yml +++ b/.github/workflows/dispatch-ui-publish-alpha.yml @@ -8,7 +8,7 @@ on: description: | 输入需要打包的组件名称,多个以空格分隔, 例如: `input alert`. - required: true + required: false type: string concurrency: group: ${{ github.workflow }}-${{ github.sha }} @@ -49,8 +49,13 @@ jobs: run: pnpm i --no-frozen-lockfile - name: Run Build Components + if: inputs.components != '' run: pnpm build:ui ${{ inputs.components }} + - name: Run Build All Components + if: inputs.components == '' + run: pnpm build:ui + - name: Run Release alpha run: pnpm release:alpha -u diff --git a/packages/vue/src/year-table/package.json b/packages/vue/src/year-table/package.json index 46f460dd88..e48ff46fad 100644 --- a/packages/vue/src/year-table/package.json +++ b/packages/vue/src/year-table/package.json @@ -12,7 +12,6 @@ "//postversion": "pnpm build" }, "dependencies": { - "@opentiny/utils": "workspace:~", "@opentiny/vue-common": "workspace:~", "@opentiny/vue-renderless": "workspace:~", "@opentiny/vue-theme": "workspace:~"