mirror of
https://code.forgejo.org/actions/cache.git
synced 2024-11-09 03:03:40 -05:00
Testing fix for a bug in the cache package
This commit is contained in:
parent
bcc23b930f
commit
1034aaeec8
2 changed files with 2 additions and 2 deletions
2
dist/restore/index.js
vendored
2
dist/restore/index.js
vendored
|
@ -1077,7 +1077,7 @@ function getVersion(app) {
|
||||||
// Use zstandard if possible to maximize cache performance
|
// Use zstandard if possible to maximize cache performance
|
||||||
function getCompressionMethod() {
|
function getCompressionMethod() {
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
if (process.platform === 'win32' && !isGnuTarInstalled()) {
|
if (process.platform === 'win32' && !(yield isGnuTarInstalled())) {
|
||||||
// Disable zstd due to bug https://github.com/actions/cache/issues/301
|
// Disable zstd due to bug https://github.com/actions/cache/issues/301
|
||||||
return constants_1.CompressionMethod.Gzip;
|
return constants_1.CompressionMethod.Gzip;
|
||||||
}
|
}
|
||||||
|
|
2
dist/save/index.js
vendored
2
dist/save/index.js
vendored
|
@ -1077,7 +1077,7 @@ function getVersion(app) {
|
||||||
// Use zstandard if possible to maximize cache performance
|
// Use zstandard if possible to maximize cache performance
|
||||||
function getCompressionMethod() {
|
function getCompressionMethod() {
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
if (process.platform === 'win32' && !isGnuTarInstalled()) {
|
if (process.platform === 'win32' && !(yield isGnuTarInstalled())) {
|
||||||
// Disable zstd due to bug https://github.com/actions/cache/issues/301
|
// Disable zstd due to bug https://github.com/actions/cache/issues/301
|
||||||
return constants_1.CompressionMethod.Gzip;
|
return constants_1.CompressionMethod.Gzip;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue