We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d1bc416 commit 6a0c142Copy full SHA for 6a0c142
.github/workflows/tests.yaml
@@ -30,21 +30,16 @@ jobs:
30
with:
31
python-version: "3.10"
32
33
- - name: Cache Python dependencies
+ - name: Cache dependencies
34
uses: actions/cache@v4
35
36
- path: ~/.cache/pip
37
- key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
+ path: |
+ ~/.cache/pip
38
+ ~/.local/lib/python3.10/site-packages
39
+ ~/.paddleocr/
40
+ key: ${{ runner.os }}-dependencies-${{ hashFiles('**/requirements.txt') }}
41
restore-keys: |
- ${{ runner.os }}-pip-
-
- - name: Cache PaddleOCR files
42
- uses: actions/cache@v4
43
- with:
44
- path: ~/.paddleocr/
45
- key: ${{ runner.os }}-paddleocr-${{ hashFiles('**/paddleocr.py') }}
46
- restore-keys: |
47
- ${{ runner.os }}-paddleocr-
+ ${{ runner.os }}-dependencies-
48
49
- name: Install dependencies
50
run: |
0 commit comments