Address some comments and correct compression commands

This commit is contained in:
Sampark Sharma
2022-11-21 12:05:03 +00:00
committed by GitHub
parent f9dfb05bd2
commit 54eb9b8055
3 changed files with 32 additions and 32 deletions
-5
View File
@@ -94,11 +94,6 @@ 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
// }
const versionOutput = await getVersion('zstd')
const version = semver.clean(versionOutput)