diff --git a/lib/entry-points.js b/lib/entry-points.js index cbeec2478..0b9e64fa3 100644 --- a/lib/entry-points.js +++ b/lib/entry-points.js @@ -164199,12 +164199,6 @@ async function runWrapper9() { logger.info( "Debug mode is on. Uploading proxy log as Actions debugging artifact..." ); - if (config?.gitHubVersion.type === void 0) { - logger.warning( - `Did not upload debug artifacts because cannot determine the GitHub variant running.` - ); - return; - } const gitHubVersion = await getGitHubVersion(); checkGitHubVersionInRange(gitHubVersion, logger); await uploadArtifacts( diff --git a/src/start-proxy-action-post.ts b/src/start-proxy-action-post.ts index d300d528b..c872207ac 100644 --- a/src/start-proxy-action-post.ts +++ b/src/start-proxy-action-post.ts @@ -38,12 +38,6 @@ export async function runWrapper() { logger.info( "Debug mode is on. Uploading proxy log as Actions debugging artifact...", ); - if (config?.gitHubVersion.type === undefined) { - logger.warning( - `Did not upload debug artifacts because cannot determine the GitHub variant running.`, - ); - return; - } const gitHubVersion = await getGitHubVersion(); checkGitHubVersionInRange(gitHubVersion, logger);