mirror of
https://github.com/github/codeql-action
synced 2026-06-01 20:01:46 +03:00
Revert "threads defaults to CODEQL_THREADS env var"
This reverts commit df7d681f04.
This commit is contained in:
@@ -115,7 +115,6 @@ 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.
|
||||
|
||||
+2
-1
@@ -547,7 +547,8 @@ async function run() {
|
||||
);
|
||||
core.exportVariable(
|
||||
"CODEQL_THREADS",
|
||||
getThreadsFlagValue(getOptionalInput("threads"), logger).toString(),
|
||||
process.env["CODEQL_THREADS"] ||
|
||||
getThreadsFlagValue(getOptionalInput("threads"), logger).toString(),
|
||||
);
|
||||
|
||||
// Disable Kotlin extractor if feature flag set
|
||||
|
||||
Reference in New Issue
Block a user