mirror of
https://gitea.com/actions/upload-artifact.git
synced 2024-11-23 00:55:58 +01:00
Bump @actions/artifact to version 0.6.1 (#286)
This commit is contained in:
parent
da838ae959
commit
82c141cc51
4 changed files with 6 additions and 8 deletions
2
.licenses/npm/@actions/artifact.dep.yml
generated
2
.licenses/npm/@actions/artifact.dep.yml
generated
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
name: "@actions/artifact"
|
name: "@actions/artifact"
|
||||||
version: 0.6.0
|
version: 0.6.1
|
||||||
type: npm
|
type: npm
|
||||||
summary:
|
summary:
|
||||||
homepage:
|
homepage:
|
||||||
|
|
4
dist/index.js
vendored
4
dist/index.js
vendored
|
@ -7078,9 +7078,7 @@ class UploadHttpClient {
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
const fileStat = yield stat(parameters.file);
|
const fileStat = yield stat(parameters.file);
|
||||||
const totalFileSize = fileStat.size;
|
const totalFileSize = fileStat.size;
|
||||||
// on Windows with mkfifo from MSYS2 stats.isFIFO returns false, so we check if running on Windows node and
|
const isFIFO = fileStat.isFIFO();
|
||||||
// if the file has size of 0 to compensate
|
|
||||||
const isFIFO = fileStat.isFIFO() || (process.platform === 'win32' && totalFileSize === 0);
|
|
||||||
let offset = 0;
|
let offset = 0;
|
||||||
let isUploadSuccessful = true;
|
let isUploadSuccessful = true;
|
||||||
let failedChunkSizes = 0;
|
let failedChunkSizes = 0;
|
||||||
|
|
6
package-lock.json
generated
6
package-lock.json
generated
|
@ -5,9 +5,9 @@
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@actions/artifact": {
|
"@actions/artifact": {
|
||||||
"version": "0.6.0",
|
"version": "0.6.1",
|
||||||
"resolved": "https://registry.npmjs.org/@actions/artifact/-/artifact-0.6.0.tgz",
|
"resolved": "https://registry.npmjs.org/@actions/artifact/-/artifact-0.6.1.tgz",
|
||||||
"integrity": "sha512-o/rT5tJQEXn1mTJhbaNEhC7VO6gNHroDAcalxYSU4VJcrMhkMSBMc5uQ4Uvmdl+lc+Fa2EEzwzPLoYbrXKclGw==",
|
"integrity": "sha512-rZ1k9kQvJX21Vwgx1L6kSQ6yeXo9cCMyqURSnjG+MRoJn+Mr3LblxmVdzScHXRzv0N9yzy49oG7Bqxp9Knyv/g==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@actions/core": "^1.2.6",
|
"@actions/core": "^1.2.6",
|
||||||
"@actions/http-client": "^1.0.11",
|
"@actions/http-client": "^1.0.11",
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/actions/upload-artifact#readme",
|
"homepage": "https://github.com/actions/upload-artifact#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@actions/artifact": "^0.6.0",
|
"@actions/artifact": "^0.6.1",
|
||||||
"@actions/core": "^1.2.6",
|
"@actions/core": "^1.2.6",
|
||||||
"@actions/glob": "^0.1.0",
|
"@actions/glob": "^0.1.0",
|
||||||
"@actions/io": "^1.0.2"
|
"@actions/io": "^1.0.2"
|
||||||
|
|
Loading…
Reference in a new issue