Skip to content

Commit 47f98d6

Browse files
authored
fix: use boolean input for npm publish (#380)
1 parent 93c4520 commit 47f98d6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/dispatch-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676

7777
# 步骤8: 发布组件到NPM
7878
- name: Publish components
79-
if: ${{ inputs.publish_npm == 'true' }}
79+
if: ${{ inputs.publish_npm }}
8080
run: pnpm lerna publish from-package --pre-dist-tag ${{ inputs.tag }} --yes
8181
env:
8282
# 使用NPM令牌进行身份验证

0 commit comments

Comments
 (0)