mirror of
https://github.com/actions/upload-artifact.git
synced 2025-04-22 03:01:19 +00:00
npm run release
This commit is contained in:
parent
0662ebb3a2
commit
eff2d288c9
5
dist/index.js
vendored
5
dist/index.js
vendored
@ -4051,7 +4051,7 @@ function run() {
|
|||||||
core.info(`With the provided path, there will be ${searchResult.filesToUpload.length} file${s} uploaded`);
|
core.info(`With the provided path, there will be ${searchResult.filesToUpload.length} file${s} uploaded`);
|
||||||
core.debug(`Root artifact directory is ${searchResult.rootDirectory}`);
|
core.debug(`Root artifact directory is ${searchResult.rootDirectory}`);
|
||||||
if (searchResult.filesToUpload.length > 10000) {
|
if (searchResult.filesToUpload.length > 10000) {
|
||||||
core.warning(`There are over 10,000 files in this artifact, consider create an archive before upload to improve the upload performance.`);
|
core.warning(`There are over 10,000 files in this artifact, consider creating an archive before upload to improve the upload performance.`);
|
||||||
}
|
}
|
||||||
const artifactClient = artifact_1.create();
|
const artifactClient = artifact_1.create();
|
||||||
const options = {
|
const options = {
|
||||||
@ -8190,8 +8190,9 @@ function isRetryableStatusCode(statusCode) {
|
|||||||
}
|
}
|
||||||
const retryableStatusCodes = [
|
const retryableStatusCodes = [
|
||||||
http_client_1.HttpCodes.BadGateway,
|
http_client_1.HttpCodes.BadGateway,
|
||||||
http_client_1.HttpCodes.ServiceUnavailable,
|
|
||||||
http_client_1.HttpCodes.GatewayTimeout,
|
http_client_1.HttpCodes.GatewayTimeout,
|
||||||
|
http_client_1.HttpCodes.InternalServerError,
|
||||||
|
http_client_1.HttpCodes.ServiceUnavailable,
|
||||||
http_client_1.HttpCodes.TooManyRequests,
|
http_client_1.HttpCodes.TooManyRequests,
|
||||||
413 // Payload Too Large
|
413 // Payload Too Large
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user