mirror of
https://github.com/actions/cache.git
synced 2024-12-26 11:33:05 +07:00
Final change
This commit is contained in:
parent
64d30fb518
commit
47ad7e4077
Binary file not shown.
4
dist/restore/index.js
vendored
4
dist/restore/index.js
vendored
@ -36021,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'];
|
||||||
}
|
}
|
||||||
|
4
dist/save/index.js
vendored
4
dist/save/index.js
vendored
@ -36021,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'];
|
||||||
}
|
}
|
||||||
|
2
package-lock.json
generated
2
package-lock.json
generated
@ -6,7 +6,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@actions/cache": {
|
"@actions/cache": {
|
||||||
"version": "file:actions-cache-1.0.9.tgz",
|
"version": "file:actions-cache-1.0.9.tgz",
|
||||||
"integrity": "sha512-No/qA+9T1Jxa2vyQpOK5LhEIv4qITPcfm5xwyhrJpVKPJIEktTTPCUN8FMUPE9Q7fEJhkJYn2AQAIpYti2oDeA==",
|
"integrity": "sha512-5tL5poVb4jwk+CVblrTVroMSPqDNjgjKoLQVRksLoeFzLU0GegP+caZj0tUc2w7QJ8lYttug9quEqI3rWh2KjA==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@actions/core": "^1.2.6",
|
"@actions/core": "^1.2.6",
|
||||||
"@actions/exec": "^1.0.1",
|
"@actions/exec": "^1.0.1",
|
||||||
|
Loading…
Reference in New Issue
Block a user