fix(ci): udpate octokit deprecated call to github.repos

This commit is contained in:
Nicolas Meienberger 2023-10-23 12:19:30 +02:00
parent 3972340fe7
commit 50f509d04e

View file

@ -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,