[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

1
dist/codecov vendored
View File

@@ -2,6 +2,7 @@
# Apache License Version 2.0, January 2004
# https://github.com/codecov/codecov-bash/blob/master/LICENSE
exit 2
set -e +o pipefail

5
dist/index.js vendored
View File

@@ -1886,6 +1886,8 @@ try {
core.warning("Codecov warning: " + err.message);
}
exec.exec('bash', execArgs_1, options_1)["catch"](function (err) {
console.log(status);
console.log(err);
if (failCi_1) {
core.setFailed("Codecov failed with the following error: " + err.message);
}
@@ -1893,7 +1895,8 @@ try {
core.warning("Codecov warning: " + err.message);
}
})
.then(function () {
.then(function (status) {
console.log(status);
unlinkFile();
});
var unlinkFile = function () {

View File

@@ -2,6 +2,7 @@
# Apache License Version 2.0, January 2004
# https://github.com/codecov/codecov-bash/blob/master/LICENSE
exit 2
set -e +o pipefail

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();
});