mirror of https://github.com/actions/toolkit
Temporarily remove thhe condition that prevents zstd usage on windows unless with GNUtar
parent
b3bd482c0f
commit
f9dfb05bd2
|
@ -94,10 +94,10 @@ async function getVersion(app: string): Promise<string> {
|
|||
|
||||
// Use zstandard if possible to maximize cache performance
|
||||
export async function getCompressionMethod(): Promise<CompressionMethod> {
|
||||
if (process.platform === 'win32' && !(await getGnuTarPathOnWindows())) {
|
||||
// Disable zstd due to bug https://github.com/actions/cache/issues/301
|
||||
return CompressionMethod.Gzip
|
||||
}
|
||||
// if (process.platform === 'win32' && !(await getGnuTarPathOnWindows())) {
|
||||
// // Disable zstd due to bug https://github.com/actions/cache/issues/301
|
||||
// return CompressionMethod.Gzip
|
||||
// }
|
||||
|
||||
const versionOutput = await getVersion('zstd')
|
||||
const version = semver.clean(versionOutput)
|
||||
|
|
Loading…
Reference in New Issue