Skip to content

Commit c78f4f7

Browse files
committed
修复 release OIDC发布流程失败的问题
1 parent 28a93fd commit c78f4f7

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
push:
55
tags:
66
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10
7+
permissions:
8+
id-token: write # Required for OIDC
9+
contents: read
710

811
jobs:
912
create_release:
@@ -44,6 +47,7 @@ jobs:
4447
with:
4548
node-version: 24
4649
cache: "pnpm"
50+
registry-url: "https://registry.npmjs.org"
4751

4852
- name: Install dependencies
4953
run: pnpm install

0 commit comments

Comments
 (0)