mirror of
https://code.forgejo.org/actions/cache.git
synced 2024-12-25 03:55:56 +00:00
Final change
This commit is contained in:
parent
64d30fb518
commit
47ad7e4077
4 changed files with 5 additions and 5 deletions
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 a new issue