mirror of
https://github.com/github/codeql-action.git
synced 2026-04-17 12:33:16 +00:00
autobuild-action: Run autobuilders with $CODEQL_RUNNER set.
Without this, the tracer will not be injected on MacOS, as we need the runner to circumvent SIP. Also add a test that tests the autobuild-action to exercise this code path.
This commit is contained in:
@@ -780,7 +780,12 @@ async function getCodeQLForCmd(
|
||||
"-Dmaven.wagon.http.pool=false",
|
||||
].join(" ");
|
||||
|
||||
await runTool(autobuildCmd);
|
||||
const runnerExe = process.env["CODEQL_RUNNER"];
|
||||
if (runnerExe) {
|
||||
await runTool(runnerExe, [autobuildCmd]);
|
||||
} else {
|
||||
await runTool(autobuildCmd);
|
||||
}
|
||||
},
|
||||
async extractScannedLanguage(
|
||||
databasePath: string,
|
||||
|
||||
Reference in New Issue
Block a user