Revert "threads defaults to CODEQL_THREADS env var"

This reverts commit df7d681f04.
This commit is contained in:
Austin Pray
2025-05-13 22:19:47 +00:00
committed by GitHub
parent df7d681f04
commit 77ae18dc82
2 changed files with 2 additions and 2 deletions
-1
View File
@@ -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
View File
@@ -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