You've already forked setup-python
mirror of
https://github.com/actions/setup-python.git
synced 2025-07-26 08:39:06 +07: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