mirror of
https://github.com/codecov/codecov-action.git
synced 2026-04-19 20:22:34 +08:00
[DNM] Test fail ci
This commit is contained in:
@@ -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();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user