Skip to content

Commit 44ec4af

Browse files
committed
SUM Add Cache
*@ Add cache for pip.
1 parent 575b428 commit 44ec4af

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ jobs:
2020
with:
2121
python-version: '3.8.10'
2222
architecture: x64
23+
- name: Setup cache
24+
uses: actions/cache@v3
25+
with:
26+
path: ~\AppData\Local\pip\Cache
27+
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
28+
restore-keys: |
29+
${{ runner.os }}-pip-
2330
- name: Initialize pip
2431
run: |
2532
pip install -r requirements.txt

0 commit comments

Comments
 (0)