Skip to content

Commit ef0e891

Browse files
committed
other caching method
1 parent a0bae72 commit ef0e891

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/update_conferences.yaml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,16 @@ jobs:
3636
with:
3737
python-version: "3.13"
3838

39-
- uses: actions/setup-python@v5
39+
- name: Cache pip
40+
uses: actions/cache@v4
4041
with:
41-
cache: 'pip'
42-
cache-dependency-path: |
43-
miner/requirements.txt
42+
path: ~/.cache/pip
43+
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
44+
restore-keys: |
45+
${{ runner.os }}-pip-
46+
47+
- name: Install dependencies
48+
run: pip install -r miner/requirements.txt
4449

4550
- name: Mine conferences from Researchr
4651
run: python miner/get_confs_from_researchr.py

0 commit comments

Comments
 (0)