threads defaults to CODEQL_THREADS env var
This commit is contained in:
parent
c41b278fa8
commit
df7d681f04
2 changed files with 2 additions and 2 deletions
|
|
@ -115,6 +115,7 @@ inputs:
|
|||
(which for GitHub-hosted runners is 2 for Linux and Windows and 3 for macOS).
|
||||
This input also sets the number of threads that can later be used by the "analyze" action.
|
||||
required: false
|
||||
default: "${{ env.CODEQL_THREADS }}"
|
||||
debug:
|
||||
description: >-
|
||||
Enable debugging mode.
|
||||
|
|
|
|||
|
|
@ -547,8 +547,7 @@ async function run() {
|
|||
);
|
||||
core.exportVariable(
|
||||
"CODEQL_THREADS",
|
||||
process.env["CODEQL_THREADS"] ||
|
||||
getThreadsFlagValue(getOptionalInput("threads"), logger).toString(),
|
||||
getThreadsFlagValue(getOptionalInput("threads"), logger).toString(),
|
||||
);
|
||||
|
||||
// Disable Kotlin extractor if feature flag set
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue