mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2026-05-15 01:30:44 +00:00
[ci skip] Improve logging for PR build comment step.
This commit is contained in:
parent
1d3d4197b7
commit
b0179e6433
1 changed files with 2 additions and 2 deletions
|
|
@ -221,11 +221,11 @@ jobs:
|
||||||
const run_id = ${{ env.FORGEJO_RUN_ID }};
|
const run_id = ${{ env.FORGEJO_RUN_ID }};
|
||||||
|
|
||||||
const issue_number = ${{ forgejo.event.pull_request.number }};
|
const issue_number = ${{ forgejo.event.pull_request.number }};
|
||||||
core.info(`Using pull request ${issue_number}`);
|
core.info(`Using run ID ${run_id} from pull request ${issue_number}`);
|
||||||
|
|
||||||
const {data: {artifacts}} = await forgejo.rest.actions.listWorkflowRunArtifacts({owner, repo, run_id});
|
const {data: {artifacts}} = await forgejo.rest.actions.listWorkflowRunArtifacts({owner, repo, run_id});
|
||||||
if (artifacts == undefined || !artifacts.length) {
|
if (artifacts == undefined || !artifacts.length) {
|
||||||
return core.error(`No artifacts found`);
|
return core.error(`No artifacts found for run ID`);
|
||||||
}
|
}
|
||||||
let body = `Download the artifacts for this pull request:\n`;
|
let body = `Download the artifacts for this pull request:\n`;
|
||||||
for (const art of artifacts) {
|
for (const art of artifacts) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue