Skip to content

Commit

Permalink
Put upper limit on the CodeQL versions for which we override the Kotl…
Browse files Browse the repository at this point in the history
…in limit

Otherwise it'll be lower than the default at some point in the future.
  • Loading branch information
igfoo committed Aug 24, 2023
1 parent 862b2cf commit 7dab600
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/init-action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}

Expand Down

0 comments on commit 7dab600

Please sign in to comment.