diff --git a/dist/index.js b/dist/index.js index 0266c72..b3d5ae5 100644 --- a/dist/index.js +++ b/dist/index.js @@ -332,7 +332,7 @@ try { ], options ).catch((err)=>{ - core.setFailed(`Codecov failed with the following error ${err}`); + core.warning(`Codecov encountered the following error: ${err}`); }) .then(() => { unlinkFile(); @@ -377,7 +377,7 @@ try { ], options ).catch((err)=>{ - core.setFailed(`Codecov failed with the following error ${err}`); + core.warning(`Codecov encountered the following error: ${err}`); }) .then(() => { unlinkFile(); diff --git a/index.js b/index.js index 8e6b961..16d3f91 100644 --- a/index.js +++ b/index.js @@ -69,7 +69,7 @@ try { ], options ).catch((err)=>{ - core.setFailed(`Codecov failed with the following error ${err}`); + core.warning(`Codecov encountered the following error: ${err}`); }) .then(() => { unlinkFile(); @@ -114,7 +114,7 @@ try { ], options ).catch((err)=>{ - core.setFailed(`Codecov failed with the following error ${err}`); + core.warning(`Codecov encountered the following error: ${err}`); }) .then(() => { unlinkFile();