File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -60,12 +60,20 @@ jobs:
6060 with :
6161 result-encoding : string
6262 script : |
63- const { data: workflow_run } = await github.rest.actions.listJobsForWorkflowRun( {
63+ const workflow_run = await github.paginate(github. rest.actions.listJobsForWorkflowRun, {
6464 owner: context.repo.owner,
6565 repo: context.repo.repo,
66- run_id: context.runId,
67- per_page: 100
66+ run_id: context.runId
6867 });
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("===================================");
6977 const matrix = JSON.parse(process.env.matrix);
7078 const job_name = `common / test${ matrix['test-partition'] } (${ matrix['test-java-version'] }, ${ matrix.vm })`;
7179 return workflow_run.jobs.find((job) => job.name === job_name).html_url;
You can’t perform that action at this time.
0 commit comments