mirror of
https://gitea.com/actions/cache.git
synced 2024-11-10 14:32:29 +08: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() {
|
||||
switch (compressionMethod) {
|
||||
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:
|
||||
return ['--use-compress-program', 'zstd -T0'];
|
||||
return ['--use-compress-program', 'zstd -T0 --fast=1'];
|
||||
default:
|
||||
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() {
|
||||
switch (compressionMethod) {
|
||||
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:
|
||||
return ['--use-compress-program', 'zstd -T0'];
|
||||
return ['--use-compress-program', 'zstd -T0 --fast=1'];
|
||||
default:
|
||||
return ['-z'];
|
||||
}
|
||||
|
|
2
package-lock.json
generated
2
package-lock.json
generated
|
@ -6,7 +6,7 @@
|
|||
"dependencies": {
|
||||
"@actions/cache": {
|
||||
"version": "file:actions-cache-1.0.9.tgz",
|
||||
"integrity": "sha512-No/qA+9T1Jxa2vyQpOK5LhEIv4qITPcfm5xwyhrJpVKPJIEktTTPCUN8FMUPE9Q7fEJhkJYn2AQAIpYti2oDeA==",
|
||||
"integrity": "sha512-5tL5poVb4jwk+CVblrTVroMSPqDNjgjKoLQVRksLoeFzLU0GegP+caZj0tUc2w7QJ8lYttug9quEqI3rWh2KjA==",
|
||||
"requires": {
|
||||
"@actions/core": "^1.2.6",
|
||||
"@actions/exec": "^1.0.1",
|
||||
|
|
Loading…
Reference in New Issue
Block a user