fix(ci): udpate octokit deprecated call to github.repos
This commit is contained in:
parent
3972340fe7
commit
50f509d04e
1 changed files with 1 additions and 1 deletions
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -180,7 +180,7 @@ jobs:
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
script: |
|
script: |
|
||||||
const id = '${{ needs.publish-release.outputs.id }}';
|
const id = '${{ needs.publish-release.outputs.id }}';
|
||||||
github.repos.updateRelease({
|
github.rest.repos.updateRelease({
|
||||||
owner: context.repo.owner,
|
owner: context.repo.owner,
|
||||||
repo: context.repo.repo,
|
repo: context.repo.repo,
|
||||||
release_id: id,
|
release_id: id,
|
||||||
|
|
Loading…
Reference in a new issue