Skip to content

Commit

Permalink
fix: repos is under oktokit.rest
Browse files Browse the repository at this point in the history
  • Loading branch information
bencromwell committed Oct 17, 2024
1 parent d0543ea commit 96661ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/zip.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
uses: actions/github-script@v7
with:
script: |
const release = await github.repos.getReleaseByTag({
const release = await github.rest.repos.getReleaseByTag({
owner: context.repo.owner,
repo: context.repo.repo,
tag: context.ref.replace('refs/tags/', ''),
Expand Down

0 comments on commit 96661ba

Please sign in to comment.