This commit is contained in:
Gaetan BOGAERT 2022-06-08 07:51:02 +02:00 committed by GitHub
commit bc7db8c661
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,6 +49,8 @@ async function checkTerraform () {
return;
}
core.exportVariable(`TF_DETAILED_EXITCODE`,${exitCode})
// A non-zero exitCode is considered an error
core.setFailed(`Terraform exited with code ${exitCode}.`);
})();