mirror of
https://github.com/codecov/codecov-action.git
synced 2025-12-23 20:27:02 +08:00
replace set fail with warning
This commit is contained in:
4
index.js
4
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();
|
||||
|
||||
Reference in New Issue
Block a user