Skip to content

Commit 7e3546d

Browse files
author
郑培鑫
committed
ci: update workflows
1 parent 7ffcf32 commit 7e3546d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,13 @@ jobs:
2424
with:
2525
node-version: 16
2626
registry-url: 'https://registry.npmjs.org'
27+
if: ${{ steps.release.outputs.release_created }}
2728
- uses: pnpm/action-setup@v3
2829
with:
2930
version: 8
31+
if: ${{ steps.release.outputs.release_created }}
3032
- run: pnpm i
33+
if: ${{ steps.release.outputs.release_created }}
3134
- run: pnpm build
3235
if: ${{ steps.release.outputs.release_created }}
3336
- run: npm publish

0 commit comments

Comments
 (0)