File tree 2 files changed +28
-0
lines changed
2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change 13
13
runs-on : ${{ matrix.os }}
14
14
15
15
steps :
16
+ - name : Get pip cache dir
17
+ id : pip-cache
18
+ shell : bash
19
+ run : |
20
+ echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
21
+
22
+ - name : cache
23
+ uses : actions/cache@v4
24
+ with :
25
+ path : ${{ steps.pip-cache.outputs.dir }}
26
+ key : ${{ runner.os }}-${{ matrix.python-version }}-pip-${{ hashFiles('pyproject.toml') }}
27
+ restore-keys : |
28
+ ${{ runner.os }}-${{ matrix.python-version }}-pip-
29
+
16
30
- uses : actions/checkout@v4
17
31
18
32
- name : Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
Original file line number Diff line number Diff line change 18
18
runs-on : ${{ matrix.os }}
19
19
20
20
steps :
21
+ - name : Get pip cache dir
22
+ id : pip-cache
23
+ shell : bash
24
+ run : |
25
+ echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
26
+
27
+ - name : cache
28
+ uses : actions/cache@v4
29
+ with :
30
+ path : ${{ steps.pip-cache.outputs.dir }}
31
+ key : ${{ runner.os }}-${{ matrix.python-version }}-pip-${{ hashFiles('pyproject.toml') }}
32
+ restore-keys : |
33
+ ${{ runner.os }}-${{ matrix.python-version }}-pip-
34
+
21
35
- uses : actions/checkout@v4
22
36
23
37
- name : Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
You can’t perform that action at this time.
0 commit comments