Only skip Xcode check on self-hosted runners

This commit is contained in:
Michael B. Gale
2026-10-30 10:56:23 +00:00
parent d37c3131f4
commit 239b07849d
3 changed files with 47 additions and 47 deletions

12
lib/entry-points.js generated
View File

@@ -193985,12 +193985,6 @@ async function checkRunnerSupportsTracedAnalysis(action, config, codeql) {
);
return;
}
if (isSelfHostedRunner(action.env)) {
action.logger.debug(
"Skipping traced analysis compatibility checks because we are on a self-hosted runner."
);
return;
}
if (config.buildMode !== void 0 && config.buildMode === "none") {
action.logger.debug(
"Skipping traced analysis compatibility checks because the build mode is 'none'."
@@ -194028,6 +194022,12 @@ async function checkRunnerSupportsTracedAnalysis(action, config, codeql) {
);
return;
}
if (isSelfHostedRunner(action.env)) {
action.logger.debug(
"Skipping traced analysis compatibility check for Xcode because we are on a self-hosted runner."
);
return;
}
const xcodeVer = xcodeVersion(action.logger);
if (xcodeVer !== void 0 && xcodeVer.major >= UNSUPPORTED_XCODE_FOR_TRACED) {
handleUnsupportedVersion(