From bb9fed2e024dd3c7d93edeefb4357b2ff9229f2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=89=E5=92=B2=E6=99=BA=E5=AD=90=20Kevin=20Deng?= Date: Tue, 5 Aug 2025 16:09:19 +0800 Subject: [PATCH] feat(release): add build step --- .github/workflows/release.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5e5856f..a9a73b5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,6 +7,10 @@ on: required: false type: boolean default: false + build: + required: false + type: string + default: '' jobs: release: @@ -44,6 +48,10 @@ jobs: run: pnpm i if: ${{ inputs.publish }} + - name: Build + run: ${{ inputs.build }} + if: ${{ inputs.build && inputs.publish }} + - name: Update npm run: npm install -g npm@latest if: ${{ inputs.publish }} -- knotmirror 0.0.1