File tree Expand file tree Collapse file tree 2 files changed +4
-16
lines changed Expand file tree Collapse file tree 2 files changed +4
-16
lines changed Original file line number Diff line number Diff line change 14
14
uses : actions/setup-python@v2
15
15
with :
16
16
python-version : " 3.10"
17
- - name : Cache Python dependencies
18
- uses : actions/cache@v2
19
- with :
20
- path : ~/.cache/pip
21
- key : ${{ runner.os }}-pip-${{ hashFiles('requirements/3.10.txt') }}
22
- restore-keys : |
23
- ${{ runner.os }}-pip-
24
- ${{ runner.os }}-
17
+ cache : pip
18
+ cache-dependency-path : requirements/3.10.txt
25
19
- name : Install Python dependencies
26
20
run : |
27
21
pip install --upgrade pip
Original file line number Diff line number Diff line change 46
46
uses : actions/setup-python@v2
47
47
with :
48
48
python-version : ${{ matrix.python-version }}
49
- - name : Cache Python dependencies
50
- uses : actions/cache@v2
51
- with :
52
- path : ~/.cache/pip
53
- key : ${{ runner.os }}-pip-${{ hashFiles(format('requirements/{0}.txt', matrix.python-version)) }}
54
- restore-keys : |
55
- ${{ runner.os }}-pip-
56
- ${{ runner.os }}-
49
+ cache : pip
50
+ cache-dependency-path : ${{ format('requirements/{0}.txt', matrix.python-version) }}
57
51
- name : Install Python dependencies
58
52
run : |
59
53
pip install --upgrade pip
You can’t perform that action at this time.
0 commit comments