mirror of
https://github.com/astral-sh/setup-uv.git
synced 2025-07-31 02:00:10 +00:00
Fix wrong cacheDependencyPathHash (#201)
Introduced in https://github.com/astral-sh/setup-uv/pull/200 and not caught because the test is not needed for automerge to pass
This commit is contained in:
committed by
GitHub
parent
e3fb95a689
commit
180f8b4439
2
src/cache/restore-cache.ts
vendored
2
src/cache/restore-cache.ts
vendored
@ -47,6 +47,8 @@ async function computeKeys(version: string): Promise<string> {
|
||||
`No file matched to [${cacheDependencyGlob.split("\n").join(",")}]. The cache will never get invalidated. Make sure you have checked out the target repository and configured the cache-dependency-glob input correctly.`,
|
||||
);
|
||||
}
|
||||
}
|
||||
if (cacheDependencyPathHash === "-") {
|
||||
cacheDependencyPathHash = "-no-dependency-glob";
|
||||
}
|
||||
const suffix = cacheSuffix ? `-${cacheSuffix}` : "";
|
||||
|
Reference in New Issue
Block a user