This commit is contained in:
Graham Christensen 2023-10-04 15:07:14 -04:00
parent 668f9cdc1b
commit e1a3b2ede2
3 changed files with 20 additions and 3 deletions

7
dist/index.js vendored
View file

@ -381,7 +381,12 @@ class NixInstallerAction {
try {
actions_core.info(`tok: ${this.github_token}`);
const octokit = github.getOctokit(this.github_token);
actions_core.info(`got octokit`);
actions_core.info(`got octokit: ${octokit}`);
actions_core.info(`fetch for: ${JSON.stringify({
owner: github.context.repo.owner,
repo: github.context.repo.repo,
run_id: github.context.runId,
}, null, 4)}`);
const jobs = yield octokit.paginate(octokit.rest.actions.listJobsForWorkflowRun, {
owner: github.context.repo.owner,
repo: github.context.repo.repo,

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View file

@ -451,7 +451,19 @@ class NixInstallerAction {
try {
actions_core.info(`tok: ${this.github_token}`);
const octokit = github.getOctokit(this.github_token);
actions_core.info(`got octokit`);
actions_core.info(`got octokit: ${octokit}`);
actions_core.info(
`fetch for: ${JSON.stringify(
{
owner: github.context.repo.owner,
repo: github.context.repo.repo,
run_id: github.context.runId,
},
null,
4,
)}`,
);
const jobs = await octokit.paginate(
octokit.rest.actions.listJobsForWorkflowRun,
{