Skip to content

Commit

Permalink
Try fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jesserockz committed Sep 2, 2024
1 parent e889745 commit aa31ad8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
uses: actions/[email protected]
with:
script: |-
const artifacts = github.rest.actions.listWorkflowRunArtifacts({
const artifacts = await github.rest.actions.listWorkflowRunArtifacts({
owner: context.repo.owner,
repo: context.repo.repo,
run_id: context.runId,
Expand All @@ -49,7 +49,7 @@ jobs:
body: `Firmware built successfully! :tada:
[Download][download] and extract the firmware to install with https://web.esphome.io
Make sure to choose \`esphome-voice-kit-esp32s3/esphome-voice-kit-esp32s3.factory.bin\`.
[download]: {artifacts['artifacts'][0]['archive_download_url']}`
[download]: ${artifacts['artifacts'][0]['archive_download_url']}`
})
upload:
Expand Down

0 comments on commit aa31ad8

Please sign in to comment.