File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed
Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change 1313 runs-on : ${{ matrix.os }}
1414
1515 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+
1630 - uses : actions/checkout@v4
1731
1832 - name : Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
Original file line number Diff line number Diff line change 1818 runs-on : ${{ matrix.os }}
1919
2020 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+
2135 - uses : actions/checkout@v4
2236
2337 - name : Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
You can’t perform that action at this time.
0 commit comments