fix release.yml break by upgrading actions/github-script part 2

This commit is contained in:
Tingluo Huang
2025-03-19 14:24:36 -04:00
committed by GitHub
parent 6069f198b7
commit d8b82f44a9

View File

@@ -29,7 +29,7 @@ jobs:
return
}
try {
const release = await github.repos.getReleaseByTag({
const release = await github.rest.repos.getReleaseByTag({
owner: '${{ github.event.repository.owner.name }}',
repo: '${{ github.event.repository.name }}',
tag: 'v' + runnerVersion