npm run release

This commit is contained in:
Brian Cristante 2021-06-16 10:51:44 -04:00
parent 0662ebb3a2
commit eff2d288c9

5
dist/index.js vendored
View File

@ -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
]; ];