File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 29
29
with :
30
30
python-version : ${{ matrix.python-version }}
31
31
32
+ - uses : actions/cache@v2
33
+ with :
34
+ path : ~/.cache/pip
35
+ # This is like the example but we use ``*requirements.txt`` rather
36
+ # than ``requirements.txt`` because we have multiple requirements
37
+ # files.
38
+ key : ${{ runner.os }}-pip-${{ hashFiles('**/*requirements.txt') }}
39
+ restore-keys : |
40
+ ${{ runner.os }}-pip-
41
+
32
42
- name : " Install dependencies"
33
43
run : |
34
44
python -m pip install --upgrade pip setuptools wheel
Original file line number Diff line number Diff line change 29
29
with :
30
30
python-version : ${{ matrix.python-version }}
31
31
32
+ - uses : actions/cache@v2
33
+ with :
34
+ path : ~\AppData\Local\pip\Cache
35
+ # This is like the example but we use ``*requirements.txt`` rather
36
+ # than ``requirements.txt`` because we have multiple requirements
37
+ # files.
38
+ key : ${{ runner.os }}-pip-${{ hashFiles('**/*requirements.txt') }}
39
+ restore-keys : |
40
+ ${{ runner.os }}-pip-
41
+
32
42
- name : " Install dependencies"
33
43
run : |
34
44
python -m pip install --upgrade pip setuptools wheel
You can’t perform that action at this time.
0 commit comments