mirror of
https://github.com/codecov/codecov-action.git
synced 2026-03-29 17:35:06 +00:00
Add more timeouts and sharter timeout
This commit is contained in:
6
dist/index.js
vendored
6
dist/index.js
vendored
@@ -2233,8 +2233,10 @@ try {
|
|||||||
}
|
}
|
||||||
|
|
||||||
request({
|
request({
|
||||||
url: "https://codecov.io/bash",
|
json: false,
|
||||||
json: false
|
maxAttempts: 5,
|
||||||
|
timeout: 3000,
|
||||||
|
url: "https://codecov.io/bash"
|
||||||
}, (error, response, body) => {
|
}, (error, response, body) => {
|
||||||
try {
|
try {
|
||||||
if (error && fail_ci) {
|
if (error && fail_ci) {
|
||||||
|
|||||||
6
index.js
6
index.js
@@ -29,8 +29,10 @@ try {
|
|||||||
}
|
}
|
||||||
|
|
||||||
request({
|
request({
|
||||||
url: "https://codecov.io/bash",
|
json: false,
|
||||||
json: false
|
maxAttempts: 5,
|
||||||
|
timeout: 3000,
|
||||||
|
url: "https://codecov.io/bash"
|
||||||
}, (error, response, body) => {
|
}, (error, response, body) => {
|
||||||
try {
|
try {
|
||||||
if (error && fail_ci) {
|
if (error && fail_ci) {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "codecov-action",
|
"name": "codecov-action",
|
||||||
"version": "1.0.12",
|
"version": "1.0.13",
|
||||||
"description": "Upload coverage reports to Codecov from GitHub Actions",
|
"description": "Upload coverage reports to Codecov from GitHub Actions",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Reference in New Issue
Block a user