Skip to content

Commit b2ccc83

Browse files
TingluoHuanguazo
authored andcommitted
fix release.yml break by upgrading actions/github-script part 2
1 parent 947a4c9 commit b2ccc83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: .github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
return
3030
}
3131
try {
32-
const release = await github.repos.getReleaseByTag({
32+
const release = await github.rest.repos.getReleaseByTag({
3333
owner: '${{ github.event.repository.owner.name }}',
3434
repo: '${{ github.event.repository.name }}',
3535
tag: 'v' + runnerVersion

0 commit comments

Comments
 (0)