Skip to content

Commit c50614a

Browse files
committed
clean up cache
1 parent bf0ed69 commit c50614a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/scrape.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,16 @@ jobs:
3232
python-version: "3.x"
3333
cache: "pip"
3434

35+
- uses: actions/cache@v3
36+
with:
37+
path: ~/.cache/pip
38+
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
39+
restore-keys: |
40+
${{ runner.os }}-pip-
41+
42+
- name: Create pip cache directory
43+
run: mkdir -p ~/.cache/pip
44+
3545
- name: Install dependencies
3646
run: |
3747
python -m pip install --upgrade pip

0 commit comments

Comments
 (0)