mirror of https://github.com/mpv-player/mpv
github/workflows: link macOS artifacts in comments
This commit is contained in:
parent
0ed023653a
commit
555bdf78b2
|
@ -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 });
|
||||
|
|
Loading…
Reference in New Issue