Skip to content

Commit 4a6f7cb

Browse files
committed
fix(ci): 修复无法发包问题
1 parent a622d85 commit 4a6f7cb

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ on:
44
push:
55
branches:
66
- main
7-
workflow_dispatch:
7+
8+
concurrency: ${{ github.workflow }}-${{ github.ref }}
89

910
jobs:
1011
release:
@@ -37,4 +38,4 @@ jobs:
3738
commit: "chore(release): 版本发布"
3839
env:
3940
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
41+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)