Skip to content

Commit e952d0a

Browse files
committed
ci: 修复获取 release 步骤
1 parent 9a12353 commit e952d0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
with:
3636
script: |
3737
const [owner, repo] = process.env.REPO.split('/')
38-
const { data } = await octokit.request('GET /repos/{owner}/{repo}/releases/tags/{tag}', {
38+
const { data } = await github.request('GET /repos/{owner}/{repo}/releases/tags/{tag}', {
3939
owner,
4040
repo,
4141
tag: process.env.REF,

0 commit comments

Comments
 (0)