mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-10 13:07:25 +00:00
replace set fail with warning
This commit is contained in:
parent
dd4242c61d
commit
78d806df69
2 changed files with 4 additions and 4 deletions
4
dist/index.js
vendored
4
dist/index.js
vendored
|
|
@ -332,7 +332,7 @@ try {
|
||||||
],
|
],
|
||||||
options
|
options
|
||||||
).catch((err)=>{
|
).catch((err)=>{
|
||||||
core.setFailed(`Codecov failed with the following error ${err}`);
|
core.warning(`Codecov encountered the following error: ${err}`);
|
||||||
})
|
})
|
||||||
.then(() => {
|
.then(() => {
|
||||||
unlinkFile();
|
unlinkFile();
|
||||||
|
|
@ -377,7 +377,7 @@ try {
|
||||||
],
|
],
|
||||||
options
|
options
|
||||||
).catch((err)=>{
|
).catch((err)=>{
|
||||||
core.setFailed(`Codecov failed with the following error ${err}`);
|
core.warning(`Codecov encountered the following error: ${err}`);
|
||||||
})
|
})
|
||||||
.then(() => {
|
.then(() => {
|
||||||
unlinkFile();
|
unlinkFile();
|
||||||
|
|
|
||||||
4
index.js
4
index.js
|
|
@ -69,7 +69,7 @@ try {
|
||||||
],
|
],
|
||||||
options
|
options
|
||||||
).catch((err)=>{
|
).catch((err)=>{
|
||||||
core.setFailed(`Codecov failed with the following error ${err}`);
|
core.warning(`Codecov encountered the following error: ${err}`);
|
||||||
})
|
})
|
||||||
.then(() => {
|
.then(() => {
|
||||||
unlinkFile();
|
unlinkFile();
|
||||||
|
|
@ -114,7 +114,7 @@ try {
|
||||||
],
|
],
|
||||||
options
|
options
|
||||||
).catch((err)=>{
|
).catch((err)=>{
|
||||||
core.setFailed(`Codecov failed with the following error ${err}`);
|
core.warning(`Codecov encountered the following error: ${err}`);
|
||||||
})
|
})
|
||||||
.then(() => {
|
.then(() => {
|
||||||
unlinkFile();
|
unlinkFile();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue