Create no-dependency-glob cache key

This commit is contained in:
Kevin Stillhammer 2024-08-24 09:23:57 +02:00
parent 3e3aecd6b6
commit 4b677dce24
No known key found for this signature in database
3 changed files with 8 additions and 0 deletions

View file

@ -40,6 +40,8 @@ async function computeKeys(version: string): Promise<string> {
`No file in ${process.cwd()} matched to [${cacheDependencyGlob}], make sure you have checked out the target repository`
)
}
} else {
cacheDependencyPathHash += 'no-dependency-glob'
}
const suffix = cacheSuffix ? `-${cacheSuffix}` : ''
return `setup-uv-${CACHE_VERSION}-${getArch()}-${getPlatform()}-${version}${cacheDependencyPathHash}${suffix}`