Skip to content

Commit 6d3deee

Browse files
committed
debug: add debug logging to see what API endpoint proxima stamp uses
1 parent 467d7e6 commit 6d3deee

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/api-client.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import * as retry from "@octokit/plugin-retry";
44
import consoleLogLevel from "console-log-level";
55

66
import { getActionVersion, getRequiredInput } from "./actions-util";
7+
import { getRunnerLogger } from "./logging";
78
import { parseRepositoryNwo } from "./repository";
89
import {
910
ConfigurationError,
@@ -116,6 +117,9 @@ export async function getGitHubVersion(): Promise<GitHubVersion> {
116117
getApiDetails(),
117118
);
118119
}
120+
getRunnerLogger(true).info(JSON.stringify(cachedGitHubVersion));
121+
getRunnerLogger(true).info(getApiDetails().url);
122+
getRunnerLogger(true).info(getApiDetails().apiURL);
119123
return cachedGitHubVersion;
120124
}
121125

0 commit comments

Comments
 (0)