From 78d806df69ee643c2f66210f892fbfbaf267f177 Mon Sep 17 00:00:00 2001 From: ibrahim0814 Date: Thu, 5 Dec 2019 15:48:29 -0800 Subject: [PATCH] replace set fail with warning --- dist/index.js | 4 ++-- index.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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();