Skip to content

Commit 10365cf

Browse files
committed
ci: fix
1 parent 0d99e71 commit 10365cf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/publish.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ jobs:
1717
runs-on: ubuntu-latest
1818

1919
steps:
20+
- name: 清理潜在的 Token 冲突
21+
run: |
22+
# 清除可能干扰 OIDC 的旧令牌环境变量
23+
unset NODE_AUTH_TOKEN
24+
# 或直接设置为空
25+
# export NODE_AUTH_TOKEN=""
2026
- name: Checkout Repo
2127
uses: actions/checkout@v4
2228

0 commit comments

Comments
 (0)