mirror of
https://github.com/actions/upload-artifact.git
synced 2025-04-19 00:56:47 +00: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
4
dist/index.js
vendored
4
dist/index.js
vendored
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue