mirror of
https://github.com/github/codeql-action.git
synced 2025-12-28 18:20:08 +08:00
Put upper limit on the CodeQL versions for which we override the Kotlin limit
Otherwise it'll be lower than the default at some point in the future.
This commit is contained in:
@@ -349,7 +349,10 @@ async function run() {
|
||||
|
||||
const kotlinLimitVar =
|
||||
"CODEQL_EXTRACTOR_KOTLIN_OVERRIDE_MAXIMUM_VERSION_LIMIT";
|
||||
if (await codeQlVersionAbove(codeql, "2.13.4")) {
|
||||
if (
|
||||
(await codeQlVersionAbove(codeql, "2.13.4")) &&
|
||||
!(await codeQlVersionAbove(codeql, "2.14.4"))
|
||||
) {
|
||||
core.exportVariable(kotlinLimitVar, "1.9.20");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user