mirror of
https://github.com/actions/setup-python.git
synced 2025-12-24 01:07:09 +00:00
14 lines
260 B
TypeScript
14 lines
260 B
TypeScript
|
|
import CacheDistributor from './cache-distributor';
|
||
|
|
|
||
|
|
class PipCache extends CacheDistributor {
|
||
|
|
constructor() {
|
||
|
|
super({
|
||
|
|
command: 'pip cache dir',
|
||
|
|
patterns: ['**/requirements.txt'],
|
||
|
|
toolName: 'pip'
|
||
|
|
});
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
export default PipCache;
|