Skip to content

Commit bd4b5ac

Browse files
Update python-app.yml
1 parent 28dee9a commit bd4b5ac

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/python-app.yml

+10-4
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,17 @@ jobs:
2525
uses: priyagupta108/setup-python@issue-1034
2626
with:
2727
python-version: ${{ matrix.python-version }}
28-
cache: 'pip'
29-
cache-dependency-path:
30-
requirements/*.txt
28+
# cache: 'pip'
29+
# cache-dependency-path:
30+
# requirements/*.txt
3131

32-
32+
- name: Cache pip dependencies
33+
uses: actions/cache@v4
34+
with:
35+
path: ~/.cache/pip
36+
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
37+
restore-keys: |
38+
${{ runner.os }}-pip-
3339
3440
- name: Install dependencies
3541
run: |

0 commit comments

Comments
 (0)