mirror of
https://kkgithub.com/actions/setup-python.git
synced 2025-11-07 14:31:50 +08:00
Include Python version in pip cache key (#303)
This commit is contained in:
committed by
GitHub
parent
156361d073
commit
ba33a692f1
@ -13,7 +13,7 @@ export function getCacheDistributor(
|
||||
) {
|
||||
switch (packageManager) {
|
||||
case PackageManagers.Pip:
|
||||
return new PipCache(cacheDependencyPath);
|
||||
return new PipCache(pythonVersion, cacheDependencyPath);
|
||||
case PackageManagers.Pipenv:
|
||||
return new PipenvCache(pythonVersion, cacheDependencyPath);
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user