diff --git a/.github/workflows/publish-github.yaml b/.github/workflows/publish-github.yaml index 6d5eb51..e32fe05 100644 --- a/.github/workflows/publish-github.yaml +++ b/.github/workflows/publish-github.yaml @@ -50,7 +50,7 @@ jobs: script: | async function getReleaseId() { try { - const response = await github.repos.getLatestRelease({ + const response = await github.rest.repos.getLatestRelease({ owner: ${{ github.repository_owner }}, repo: ${{ github.repository }} });