Skip to content

Commit c977673

Browse files
committed
test
1 parent cd5d9de commit c977673

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/build-common.yml

+11-3
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)