mirror of
https://github.com/actions/setup-python.git
synced 2025-07-19 12:08:19 +02:00
Include Python version in pip cache key (#303)
This commit is contained in:
parent
156361d073
commit
ba33a692f1
4 changed files with 13 additions and 13 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue