mirror of
https://github.com/actions/setup-python
synced 2026-03-25 01:12:34 +03: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