await install

This commit is contained in:
Evgenii Korolevskii 2022-11-24 18:14:22 +01:00
parent f8c67ed9c3
commit 7bad438e84
2 changed files with 3 additions and 3 deletions

View file

@ -22,7 +22,7 @@ async function run() {
let toolchainIds = core.getMultilineInput(constants.INPUT_MVN_TOOLCHAIN_ID);
core.startGroup('Installed distributions');
if (versions.length !== toolchainIds.length) {
toolchainIds = [];
}
@ -40,7 +40,7 @@ async function run() {
}
const stringVersion = validVer as string;
try {
installVersion(stringVersion)
await installVersion(stringVersion)
} catch (error) {
core.info(`${stringVersion} not found`)
throw new Error("some err")