feat: add deployed output variable

This commit is contained in:
John Wright 2021-02-24 20:12:43 +00:00
parent 1cffb780cf
commit a6c76ad482
2 changed files with 804 additions and 800 deletions

2
dist/index.js vendored
View File

@ -6570,9 +6570,11 @@ async function runDeployment() {
"security": parse_1.optionalSecurity("security", core.getInput("security")) "security": parse_1.optionalSecurity("security", core.getInput("security"))
}; };
await ftp_deploy_1.deploy(args); await ftp_deploy_1.deploy(args);
core.setOutput('deployed', 'true');
} }
catch (error) { catch (error) {
core.setFailed(error); core.setFailed(error);
core.setOutput('deployed', 'false');
} }
} }
runDeployment(); runDeployment();

View File

@ -22,9 +22,11 @@ async function runDeployment() {
}; };
await deploy(args); await deploy(args);
core.setOutput('deployed', 'true');
} }
catch (error) { catch (error) {
core.setFailed(error); core.setFailed(error);
core.setOutput('deployed', 'false');
} }
} }