diff options
Diffstat (limited to '.github/workflows/comment.yml')
-rw-r--r-- | .github/workflows/comment.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/comment.yml b/.github/workflows/comment.yml index 7f9603a..c80f1d8 100644 --- a/.github/workflows/comment.yml +++ b/.github/workflows/comment.yml @@ -45,6 +45,13 @@ jobs: body += `\n* [${art.name}](${art_link})`; } } + body += `\n</details>\n\n<details><summary>macOS</summary>\n`; + for (const art of artifacts) { + const art_link = `https://nightly.link/${owner}/${repo}/actions/artifacts/${art.id}.zip`; + if (art.name.includes('macos')) { + body += `\n* [${art.name}](${art_link})`; + } + } body += `\n</details>`; const { data: comments } = await github.rest.issues.listComments({ repo, owner, issue_number }); |