mirror of
https://github.com/github/codeql-action.git
synced 2026-11-05 04:29:40 +00:00
Only skip Xcode check on self-hosted runners
This commit is contained in:
12
lib/entry-points.js
generated
12
lib/entry-points.js
generated
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user