mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-08-22 00:29:09 +08:00
Add debug statements
This commit is contained in:
parent
d2b7d85e7c
commit
f2aa430c9d
2
packages/cache/src/internal/cacheUtils.ts
vendored
2
packages/cache/src/internal/cacheUtils.ts
vendored
@ -95,7 +95,9 @@ async function getVersion(app: string): Promise<string> {
|
||||
// Use zstandard if possible to maximize cache performance
|
||||
export async function getCompressionMethod(): Promise<CompressionMethod> {
|
||||
const versionOutput = await getVersion('zstd')
|
||||
core.debug(`versionOutput: ${versionOutput}`)
|
||||
const version = semver.clean(versionOutput)
|
||||
core.debug(`version: ${version}`)
|
||||
|
||||
if (!versionOutput.toLowerCase().includes('zstd command line interface')) {
|
||||
// zstd is not installed
|
||||
|
Loading…
x
Reference in New Issue
Block a user