Skip to content

Commit

Permalink
fix(release): use await
Browse files Browse the repository at this point in the history
  • Loading branch information
oplik0 committed Sep 21, 2022
1 parent 5ad96cc commit 2f1436f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
release_id: ${{ steps.semantic-release.outputs.release_id }}
with:
script: |
const { data } = github.rest.repos.getRelease({
const { data } = await github.rest.repos.getRelease({
owner: context.repo.owner,
repo: context.repo.repo,
release_id: process.env.release_id,
Expand Down

0 comments on commit 2f1436f

Please sign in to comment.