[DNM] Test fail ci

This commit is contained in:
Tom Hu
2021-06-10 22:58:41 -04:00
parent 2d78cca173
commit d404e59e88
4 changed files with 10 additions and 2 deletions

View File

@@ -20,6 +20,8 @@ try {
exec.exec('bash', execArgs, options)
.catch((err) => {
console.log(status);
console.log(err);
if (failCi) {
core.setFailed(
`Codecov failed with the following error: ${err.message}`,
@@ -28,7 +30,8 @@ try {
core.warning(`Codecov warning: ${err.message}`);
}
})
.then(() => {
.then((status) => {
console.log(status);
unlinkFile();
});