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 }}