1
Fork 0
mirror of https://gitea.com/actions/upload-artifact.git synced 2024-11-26 02:25:58 +01:00

Ingest v0.5.2 of @actions/artifact (#224)

* npm install --update @actions/artifact

* update .license file

* npm run release
This commit is contained in:
Brian Cristante 2021-06-16 11:09:14 -04:00 committed by GitHub
parent 4537e112f4
commit 27121b0bdf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 7 deletions

View file

@ -1,6 +1,6 @@
---
name: "@actions/artifact"
version: 0.5.1
version: 0.5.2
type: npm
summary:
homepage:

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

6
package-lock.json generated
View file

@ -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",

View file

@ -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"