From 27121b0bdffd731efa15d66772be8dc71245d074 Mon Sep 17 00:00:00 2001 From: Brian Cristante <33549821+brcrista@users.noreply.github.com> Date: Wed, 16 Jun 2021 11:09:14 -0400 Subject: [PATCH] Ingest v0.5.2 of @actions/artifact (#224) * npm install --update @actions/artifact * update .license file * npm run release --- .licenses/npm/@actions/artifact.dep.yml | 2 +- dist/index.js | 5 +++-- package-lock.json | 6 +++--- package.json | 2 +- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.licenses/npm/@actions/artifact.dep.yml b/.licenses/npm/@actions/artifact.dep.yml index 02700720..c54e649a 100644 --- a/.licenses/npm/@actions/artifact.dep.yml +++ b/.licenses/npm/@actions/artifact.dep.yml @@ -1,6 +1,6 @@ --- name: "@actions/artifact" -version: 0.5.1 +version: 0.5.2 type: npm summary: homepage: diff --git a/dist/index.js b/dist/index.js index 343b4bfd..1837061d 100644 --- a/dist/index.js +++ b/dist/index.js @@ -4051,7 +4051,7 @@ function run() { core.info(`With the provided path, there will be ${searchResult.filesToUpload.length} file${s} uploaded`); core.debug(`Root artifact directory is ${searchResult.rootDirectory}`); 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 options = { @@ -8190,8 +8190,9 @@ function isRetryableStatusCode(statusCode) { } const retryableStatusCodes = [ http_client_1.HttpCodes.BadGateway, - http_client_1.HttpCodes.ServiceUnavailable, http_client_1.HttpCodes.GatewayTimeout, + http_client_1.HttpCodes.InternalServerError, + http_client_1.HttpCodes.ServiceUnavailable, http_client_1.HttpCodes.TooManyRequests, 413 // Payload Too Large ]; diff --git a/package-lock.json b/package-lock.json index 100276b0..f2fbd8e7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,9 +5,9 @@ "requires": true, "dependencies": { "@actions/artifact": { - "version": "0.5.1", - "resolved": "https://registry.npmjs.org/@actions/artifact/-/artifact-0.5.1.tgz", - "integrity": "sha512-wKXEa4fhvgsw3kPu74F3J6eAi92rqv7BvpjEAmiqmDFeuDj6cyqWDWXx6axWfiBmmln1/LVf1DLWikbciKkoVQ==", + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/@actions/artifact/-/artifact-0.5.2.tgz", + "integrity": "sha512-q/r8WSqyxBJ0ffLCRrtjCBTGnAYqP+ID4yG7f7YSlhrQ4thNg/d+Tq9f1YkLPKX46ZR97OWtGDY+oU/nxcqvLw==", "requires": { "@actions/core": "^1.2.6", "@actions/http-client": "^1.0.11", diff --git a/package.json b/package.json index fc56ab08..9365a374 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ }, "homepage": "https://github.com/actions/upload-artifact#readme", "dependencies": { - "@actions/artifact": "^0.5.1", + "@actions/artifact": "^0.5.2", "@actions/core": "^1.2.6", "@actions/glob": "^0.1.0", "@actions/io": "^1.0.2"