mirror of
https://github.com/github/codeql-action.git
synced 2026-01-03 05:00:04 +08:00
Account for varying major version number in error message
This commit is contained in:
@@ -1144,8 +1144,9 @@ export async function getCodeQLForCmd(
|
||||
"version of the CLI using the 'tools' input to the 'init' Action, you can remove this " +
|
||||
"input to use the default version.\n\n" +
|
||||
"Alternatively, if you want to continue using CodeQL CLI version " +
|
||||
`${result.version}, you can replace 'github/codeql-action/*@v3' by ` +
|
||||
`'github/codeql-action/*@v${getActionVersion()}' in your code scanning workflow to ` +
|
||||
`${result.version}, you can replace 'github/codeql-action/*@v${
|
||||
getActionVersion().split(".")[0]
|
||||
}' by 'github/codeql-action/*@v${getActionVersion()}' in your code scanning workflow to ` +
|
||||
"continue using this version of the CodeQL Action.",
|
||||
);
|
||||
core.exportVariable(EnvVar.SUPPRESS_DEPRECATED_SOON_WARNING, "true");
|
||||
|
||||
Reference in New Issue
Block a user