Skip to content

Commit 7dab600

Browse files
committed
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.
1 parent 862b2cf commit 7dab600

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/init-action.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,10 @@ async function run() {
349349

350350
const kotlinLimitVar =
351351
"CODEQL_EXTRACTOR_KOTLIN_OVERRIDE_MAXIMUM_VERSION_LIMIT";
352-
if (await codeQlVersionAbove(codeql, "2.13.4")) {
352+
if (
353+
(await codeQlVersionAbove(codeql, "2.13.4")) &&
354+
!(await codeQlVersionAbove(codeql, "2.14.4"))
355+
) {
353356
core.exportVariable(kotlinLimitVar, "1.9.20");
354357
}
355358

0 commit comments

Comments
 (0)