File tree Expand file tree Collapse file tree 3 files changed +8
-43
lines changed Expand file tree Collapse file tree 3 files changed +8
-43
lines changed Original file line number Diff line number Diff line change 20
20
- name : Set up Python
21
21
uses : actions/setup-python@v2
22
22
with :
23
- python-version : 3.9
24
-
25
- - name : Get pip cache dir
26
- id : pip-cache
27
- run : |
28
- echo "::set-output name=dir::$(pip cache dir)"
29
-
30
- - name : Cache
31
- uses : actions/cache@v2
32
- with :
33
- path : ${{ steps.pip-cache.outputs.dir }}
34
- key :
35
- ${{ matrix.os }}-${{ matrix.python-version }}-v1-${{ hashFiles('**/setup.py') }}
36
- restore-keys : |
37
- ${{ matrix.os }}-${{ matrix.python-version }}-v1-
23
+ python-version : " 3.10"
24
+ cache : pip
25
+ cache-dependency-path : " setup.py"
38
26
39
27
- name : Install dependencies
40
28
run : |
Original file line number Diff line number Diff line change 21
21
- name : Set up Python
22
22
uses : actions/setup-python@v2
23
23
with :
24
- python-version : 3.8
25
-
26
- - name : Get pip cache dir
27
- id : pip-cache
28
- run : |
29
- echo "::set-output name=dir::$(pip cache dir)"
30
-
31
- - name : Cache
32
- uses : actions/cache@v2
33
- with :
34
- path : ${{ steps.pip-cache.outputs.dir }}
35
- key : release-${{ hashFiles('**/setup.py') }}
36
- restore-keys : |
37
- release-
24
+ python-version : " 3.10"
25
+ cache : pip
26
+ cache-dependency-path : " setup.py"
38
27
39
28
- name : Install dependencies
40
29
run : |
Original file line number Diff line number Diff line change 21
21
uses : actions/setup-python@v2
22
22
with :
23
23
python-version : ${{ matrix.python-version }}
24
-
25
- - name : Get pip cache dir
26
- id : pip-cache
27
- run : |
28
- echo "::set-output name=dir::$(pip cache dir)"
29
-
30
- - name : Cache
31
- uses : actions/cache@v2
32
- with :
33
- path : ${{ steps.pip-cache.outputs.dir }}
34
- key :
35
- ${{ matrix.os }}-${{ matrix.python-version }}-v1-${{ hashFiles('**/setup.py') }}
36
- restore-keys : |
37
- ${{ matrix.os }}-${{ matrix.python-version }}-v1-
24
+ cache : pip
25
+ cache-dependency-path : " setup.py"
38
26
39
27
- name : Install dependencies
40
28
run : |
You can’t perform that action at this time.
0 commit comments