?
This commit is contained in:
parent
668f9cdc1b
commit
e1a3b2ede2
7
dist/index.js
vendored
7
dist/index.js
vendored
|
@ -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
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
14
src/main.ts
14
src/main.ts
|
@ -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,
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue