add v2 deprecation warning
This commit is contained in:
parent
d13ca047ae
commit
f72cffc780
21 changed files with 199 additions and 8 deletions
1
lib/autobuild-action.js
generated
1
lib/autobuild-action.js
generated
|
|
@ -53,6 +53,7 @@ async function run() {
|
|||
}
|
||||
const gitHubVersion = await (0, api_client_1.getGitHubVersion)();
|
||||
(0, util_1.checkGitHubVersionInRange)(gitHubVersion, logger);
|
||||
(0, util_1.checkActionVersion)((0, actions_util_1.getActionVersion)(), gitHubVersion);
|
||||
const config = await configUtils.getConfig((0, actions_util_1.getTemporaryDirectory)(), logger);
|
||||
if (config === undefined) {
|
||||
throw new Error("Config file could not be found at expected location. Has the 'init' action been called?");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue