File tree 1 file changed +11
-3
lines changed
1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -60,12 +60,20 @@ jobs:
60
60
with :
61
61
result-encoding : string
62
62
script : |
63
- const { data: workflow_run } = await github.rest.actions.listJobsForWorkflowRun( {
63
+ const workflow_run = await github.paginate(github. rest.actions.listJobsForWorkflowRun, {
64
64
owner: context.repo.owner,
65
65
repo: context.repo.repo,
66
- run_id: context.runId,
67
- per_page: 100
66
+ run_id: context.runId
68
67
});
68
+ console.log("===================================");
69
+ console.log(workflow_run);
70
+ console.log("===================================");
71
+ console.log(github.rest.actions.listJobsForWorkflowRun, {
72
+ owner: context.repo.owner,
73
+ repo: context.repo.repo,
74
+ run_id: context.runId
75
+ });
76
+ console.log("===================================");
69
77
const matrix = JSON.parse(process.env.matrix);
70
78
const job_name = `common / test${ matrix['test-partition'] } (${ matrix['test-java-version'] }, ${ matrix.vm })`;
71
79
return workflow_run.jobs.find((job) => job.name === job_name).html_url;
You can’t perform that action at this time.
0 commit comments