mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
github/workflows: link macOS artifacts in comments
This commit is contained in:
7
.github/workflows/comment.yml
vendored
7
.github/workflows/comment.yml
vendored
@@ -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 });
|
||||
|
||||
Reference in New Issue
Block a user