Skip to content

Commit

Permalink
use await to ensure we wait for asset upload (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zemnmez authored May 4, 2022
1 parent 7cd3a7c commit 939feeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/artifacts/release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ async function main() {

const ab = await Promise.all(
mappings.map(async ([name, file]) =>
Github.rest.repos.uploadReleaseAsset({
await Github.rest.repos.uploadReleaseAsset({
owner: context.repo.owner,
repo: context.repo.repo,
release_id: (await release).data.id,
Expand Down

0 comments on commit 939feeb

Please sign in to comment.