From 1126bb377ecb9a3da22bb71ecc7dc39035c4bc65 Mon Sep 17 00:00:00 2001 From: konradpabjan Date: Tue, 14 Dec 2021 20:15:09 -0500 Subject: [PATCH] Bump @actions/artifact to version 0.6.1 --- .licenses/npm/@actions/artifact.dep.yml | 2 +- dist/index.js | 4 +--- package-lock.json | 6 +++--- package.json | 2 +- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.licenses/npm/@actions/artifact.dep.yml b/.licenses/npm/@actions/artifact.dep.yml index 5e24feba..17a42d22 100644 --- a/.licenses/npm/@actions/artifact.dep.yml +++ b/.licenses/npm/@actions/artifact.dep.yml @@ -1,6 +1,6 @@ --- name: "@actions/artifact" -version: 0.6.0 +version: 0.6.1 type: npm summary: homepage: diff --git a/dist/index.js b/dist/index.js index 34456272..337ec28a 100644 --- a/dist/index.js +++ b/dist/index.js @@ -7078,9 +7078,7 @@ class UploadHttpClient { return __awaiter(this, void 0, void 0, function* () { const fileStat = yield stat(parameters.file); const totalFileSize = fileStat.size; - // on Windows with mkfifo from MSYS2 stats.isFIFO returns false, so we check if running on Windows node and - // if the file has size of 0 to compensate - const isFIFO = fileStat.isFIFO() || (process.platform === 'win32' && totalFileSize === 0); + const isFIFO = fileStat.isFIFO(); let offset = 0; let isUploadSuccessful = true; let failedChunkSizes = 0; diff --git a/package-lock.json b/package-lock.json index 1263b071..e045d46e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,9 +5,9 @@ "requires": true, "dependencies": { "@actions/artifact": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/@actions/artifact/-/artifact-0.6.0.tgz", - "integrity": "sha512-o/rT5tJQEXn1mTJhbaNEhC7VO6gNHroDAcalxYSU4VJcrMhkMSBMc5uQ4Uvmdl+lc+Fa2EEzwzPLoYbrXKclGw==", + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/@actions/artifact/-/artifact-0.6.1.tgz", + "integrity": "sha512-rZ1k9kQvJX21Vwgx1L6kSQ6yeXo9cCMyqURSnjG+MRoJn+Mr3LblxmVdzScHXRzv0N9yzy49oG7Bqxp9Knyv/g==", "requires": { "@actions/core": "^1.2.6", "@actions/http-client": "^1.0.11", diff --git a/package.json b/package.json index 381cebde..7b73f069 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ }, "homepage": "https://github.com/actions/upload-artifact#readme", "dependencies": { - "@actions/artifact": "^0.6.0", + "@actions/artifact": "^0.6.1", "@actions/core": "^1.2.6", "@actions/glob": "^0.1.0", "@actions/io": "^1.0.2"