Compare commits

...

4 Commits

Author SHA1 Message Date
vsvipul 47ad7e4077 Final change 2022-02-10 21:41:37 +05:30
vsvipul 64d30fb518 update js files 2022-02-10 18:31:21 +05:30
vsvipul 1a2d984507 Update fast cache package 2022-02-10 15:18:03 +05:30
vsvipul 7ca5bf5d35 Testing fast==1 for zstd 2022-02-10 13:55:33 +05:30
5 changed files with 50 additions and 47 deletions

BIN
actions-cache-1.0.9.tgz Normal file

Binary file not shown.

42
dist/restore/index.js vendored
View File

@ -1473,17 +1473,7 @@ exports.parseURL = __webpack_require__(936).parseURL;
/***/ }), /***/ }),
/* 71 */ /* 71 */,
/***/ (function() {
"use strict";
if (typeof Symbol === undefined || !Symbol.asyncIterator) {
Symbol.asyncIterator = Symbol.for("Symbol.asyncIterator");
}
//# sourceMappingURL=index.js.map
/***/ }),
/* 72 */, /* 72 */,
/* 73 */, /* 73 */,
/* 74 */, /* 74 */,
@ -2743,7 +2733,19 @@ Object.defineProperty(exports, "__esModule", { value: true });
/***/ }), /***/ }),
/* 96 */, /* 96 */,
/* 97 */, /* 97 */
/***/ (function() {
"use strict";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
if (typeof Symbol === undefined || !Symbol.asyncIterator) {
Symbol.asyncIterator = Symbol.for("Symbol.asyncIterator");
}
//# sourceMappingURL=index.js.map
/***/ }),
/* 98 */, /* 98 */,
/* 99 */, /* 99 */,
/* 100 */, /* 100 */,
@ -35986,9 +35988,9 @@ function extractTar(archivePath, compressionMethod) {
function getCompressionProgram() { function getCompressionProgram() {
switch (compressionMethod) { switch (compressionMethod) {
case constants_1.CompressionMethod.Zstd: case constants_1.CompressionMethod.Zstd:
return ['--use-compress-program', 'zstd -d --long=30']; return ['--use-compress-program', 'zstd -d --fast=1 --long=30'];
case constants_1.CompressionMethod.ZstdWithoutLong: case constants_1.CompressionMethod.ZstdWithoutLong:
return ['--use-compress-program', 'zstd -d']; return ['--use-compress-program', 'zstd -d --fast=1'];
default: default:
return ['-z']; return ['-z'];
} }
@ -36019,9 +36021,9 @@ function createTar(archiveFolder, sourceDirectories, compressionMethod) {
function getCompressionProgram() { function getCompressionProgram() {
switch (compressionMethod) { switch (compressionMethod) {
case constants_1.CompressionMethod.Zstd: case constants_1.CompressionMethod.Zstd:
return ['--use-compress-program', 'zstd -T0 --long=30']; return ['--use-compress-program', 'zstd -T0 --fast=1 --long=30'];
case constants_1.CompressionMethod.ZstdWithoutLong: case constants_1.CompressionMethod.ZstdWithoutLong:
return ['--use-compress-program', 'zstd -T0']; return ['--use-compress-program', 'zstd -T0 --fast=1'];
default: default:
return ['-z']; return ['-z'];
} }
@ -36050,9 +36052,9 @@ function listTar(archivePath, compressionMethod) {
function getCompressionProgram() { function getCompressionProgram() {
switch (compressionMethod) { switch (compressionMethod) {
case constants_1.CompressionMethod.Zstd: case constants_1.CompressionMethod.Zstd:
return ['--use-compress-program', 'zstd -d --long=30']; return ['--use-compress-program', 'zstd -d --fast=1 --long=30'];
case constants_1.CompressionMethod.ZstdWithoutLong: case constants_1.CompressionMethod.ZstdWithoutLong:
return ['--use-compress-program', 'zstd -d']; return ['--use-compress-program', 'zstd -d --fast=1'];
default: default:
return ['-z']; return ['-z'];
} }
@ -39151,7 +39153,7 @@ function defer(fn)
Object.defineProperty(exports, '__esModule', { value: true }); Object.defineProperty(exports, '__esModule', { value: true });
__webpack_require__(71); __webpack_require__(97);
var tslib = __webpack_require__(671); var tslib = __webpack_require__(671);
// Copyright (c) Microsoft Corporation. // Copyright (c) Microsoft Corporation.
@ -53428,7 +53430,7 @@ var FormData = __webpack_require__(790);
var node_fetch = __webpack_require__(454); var node_fetch = __webpack_require__(454);
var coreTracing = __webpack_require__(263); var coreTracing = __webpack_require__(263);
var url = __webpack_require__(835); var url = __webpack_require__(835);
__webpack_require__(71); __webpack_require__(97);
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }

42
dist/save/index.js vendored
View File

@ -1473,17 +1473,7 @@ exports.parseURL = __webpack_require__(936).parseURL;
/***/ }), /***/ }),
/* 71 */ /* 71 */,
/***/ (function() {
"use strict";
if (typeof Symbol === undefined || !Symbol.asyncIterator) {
Symbol.asyncIterator = Symbol.for("Symbol.asyncIterator");
}
//# sourceMappingURL=index.js.map
/***/ }),
/* 72 */, /* 72 */,
/* 73 */, /* 73 */,
/* 74 */, /* 74 */,
@ -2743,7 +2733,19 @@ Object.defineProperty(exports, "__esModule", { value: true });
/***/ }), /***/ }),
/* 96 */, /* 96 */,
/* 97 */, /* 97 */
/***/ (function() {
"use strict";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
if (typeof Symbol === undefined || !Symbol.asyncIterator) {
Symbol.asyncIterator = Symbol.for("Symbol.asyncIterator");
}
//# sourceMappingURL=index.js.map
/***/ }),
/* 98 */, /* 98 */,
/* 99 */, /* 99 */,
/* 100 */, /* 100 */,
@ -35986,9 +35988,9 @@ function extractTar(archivePath, compressionMethod) {
function getCompressionProgram() { function getCompressionProgram() {
switch (compressionMethod) { switch (compressionMethod) {
case constants_1.CompressionMethod.Zstd: case constants_1.CompressionMethod.Zstd:
return ['--use-compress-program', 'zstd -d --long=30']; return ['--use-compress-program', 'zstd -d --fast=1 --long=30'];
case constants_1.CompressionMethod.ZstdWithoutLong: case constants_1.CompressionMethod.ZstdWithoutLong:
return ['--use-compress-program', 'zstd -d']; return ['--use-compress-program', 'zstd -d --fast=1'];
default: default:
return ['-z']; return ['-z'];
} }
@ -36019,9 +36021,9 @@ function createTar(archiveFolder, sourceDirectories, compressionMethod) {
function getCompressionProgram() { function getCompressionProgram() {
switch (compressionMethod) { switch (compressionMethod) {
case constants_1.CompressionMethod.Zstd: case constants_1.CompressionMethod.Zstd:
return ['--use-compress-program', 'zstd -T0 --long=30']; return ['--use-compress-program', 'zstd -T0 --fast=1 --long=30'];
case constants_1.CompressionMethod.ZstdWithoutLong: case constants_1.CompressionMethod.ZstdWithoutLong:
return ['--use-compress-program', 'zstd -T0']; return ['--use-compress-program', 'zstd -T0 --fast=1'];
default: default:
return ['-z']; return ['-z'];
} }
@ -36050,9 +36052,9 @@ function listTar(archivePath, compressionMethod) {
function getCompressionProgram() { function getCompressionProgram() {
switch (compressionMethod) { switch (compressionMethod) {
case constants_1.CompressionMethod.Zstd: case constants_1.CompressionMethod.Zstd:
return ['--use-compress-program', 'zstd -d --long=30']; return ['--use-compress-program', 'zstd -d --fast=1 --long=30'];
case constants_1.CompressionMethod.ZstdWithoutLong: case constants_1.CompressionMethod.ZstdWithoutLong:
return ['--use-compress-program', 'zstd -d']; return ['--use-compress-program', 'zstd -d --fast=1'];
default: default:
return ['-z']; return ['-z'];
} }
@ -39151,7 +39153,7 @@ function defer(fn)
Object.defineProperty(exports, '__esModule', { value: true }); Object.defineProperty(exports, '__esModule', { value: true });
__webpack_require__(71); __webpack_require__(97);
var tslib = __webpack_require__(671); var tslib = __webpack_require__(671);
// Copyright (c) Microsoft Corporation. // Copyright (c) Microsoft Corporation.
@ -53431,7 +53433,7 @@ var FormData = __webpack_require__(790);
var node_fetch = __webpack_require__(454); var node_fetch = __webpack_require__(454);
var coreTracing = __webpack_require__(263); var coreTracing = __webpack_require__(263);
var url = __webpack_require__(835); var url = __webpack_require__(835);
__webpack_require__(71); __webpack_require__(97);
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }

11
package-lock.json generated
View File

@ -5,9 +5,8 @@
"requires": true, "requires": true,
"dependencies": { "dependencies": {
"@actions/cache": { "@actions/cache": {
"version": "1.0.9", "version": "file:actions-cache-1.0.9.tgz",
"resolved": "https://registry.npmjs.org/@actions/cache/-/cache-1.0.9.tgz", "integrity": "sha512-5tL5poVb4jwk+CVblrTVroMSPqDNjgjKoLQVRksLoeFzLU0GegP+caZj0tUc2w7QJ8lYttug9quEqI3rWh2KjA==",
"integrity": "sha512-VzqeDyW3kIDdARNQphd1FrzZCiJRuv98aXwM3R+BLe2UvdZXdRqjC/rrytSm4Nv4OJuI8NA1pbhkXIf+a4LFtw==",
"requires": { "requires": {
"@actions/core": "^1.2.6", "@actions/core": "^1.2.6",
"@actions/exec": "^1.0.1", "@actions/exec": "^1.0.1",
@ -74,9 +73,9 @@
} }
}, },
"@azure/core-asynciterator-polyfill": { "@azure/core-asynciterator-polyfill": {
"version": "1.0.0", "version": "1.0.2",
"resolved": "https://registry.npmjs.org/@azure/core-asynciterator-polyfill/-/core-asynciterator-polyfill-1.0.0.tgz", "resolved": "https://registry.npmjs.org/@azure/core-asynciterator-polyfill/-/core-asynciterator-polyfill-1.0.2.tgz",
"integrity": "sha512-kmv8CGrPfN9SwMwrkiBK9VTQYxdFQEGe0BmQk+M8io56P9KNzpAxcWE/1fxJj7uouwN4kXF0BHW8DNlgx+wtCg==" "integrity": "sha512-3rkP4LnnlWawl0LZptJOdXNrT/fHp2eQMadoasa6afspXdpGrtPZuAQc2PD0cpgyuoXtUWyC3tv7xfntjGS5Dw=="
}, },
"@azure/core-auth": { "@azure/core-auth": {
"version": "1.3.2", "version": "1.3.2",

View File

@ -23,7 +23,7 @@
"author": "GitHub", "author": "GitHub",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@actions/cache": "^1.0.9", "@actions/cache": "file:actions-cache-1.0.9.tgz",
"@actions/core": "^1.2.6", "@actions/core": "^1.2.6",
"@actions/exec": "^1.0.1", "@actions/exec": "^1.0.1",
"@actions/io": "^1.1.0" "@actions/io": "^1.1.0"