1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2024-11-23 20:19:16 +01:00

Final change

This commit is contained in:
vsvipul 2022-02-10 21:41:37 +05:30
parent 64d30fb518
commit 47ad7e4077
4 changed files with 5 additions and 5 deletions

Binary file not shown.

View file

@ -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
View file

@ -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
View file

@ -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",