We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 509f823 commit 1dccbecCopy full SHA for 1dccbec
1 file changed
src/index.ts
@@ -55,14 +55,15 @@ for (const file of readdirRecursively(".")) {
55
const firstLine = compilation_output.split("\n")[0];
56
if (firstLine.startsWith(prefix)) {
57
const { run_id } = JSON.parse(firstLine.substring(prefix.length));
58
- const { data: jobs } = await octokit.rest.actions.listJobsForWorkflowRun({
59
- owner,
60
- repo,
61
- run_id,
62
- });
+ const { data: jobList } =
+ await octokit.rest.actions.listJobsForWorkflowRun({
+ owner,
+ repo,
+ run_id,
63
+ });
64
console.log(
65
"jobs: ",
- jobs.jobs.map((job) => job.html_url)
66
+ jobList.jobs.map((job) => job.name)
67
);
68
}
69
0 commit comments