Prompt customers to upgrade from v1 to v2

This commit is contained in:
Henry Mercer 2022-04-26 16:45:44 +01:00
parent ff8b365e79
commit 0256599547
18 changed files with 189 additions and 13 deletions

1
lib/init-action.js generated
View file

@ -71,6 +71,7 @@ async function run() {
const startedAt = new Date();
const logger = (0, logging_1.getActionsLogger)();
(0, util_1.initializeEnvironment)(util_1.Mode.actions, pkg.version);
await (0, util_1.checkActionVersion)(pkg.version);
let config;
let codeql;
let toolsVersion;