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:
parent
862b2cf102
commit
7dab60079b
1 changed files with 4 additions and 1 deletions
|
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue