mirror of
https://github.com/codecov/codecov-action.git
synced 2025-12-23 20:27:02 +08: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({
|
||||
url: "https://codecov.io/bash",
|
||||
json: false
|
||||
json: false,
|
||||
maxAttempts: 5,
|
||||
timeout: 3000,
|
||||
url: "https://codecov.io/bash"
|
||||
}, (error, response, body) => {
|
||||
try {
|
||||
if (error && fail_ci) {
|
||||
|
||||
Reference in New Issue
Block a user