Skip to content

Commit 7cfca60

Browse files
authored
Cache pip downloads in CI (#6798)
1 parent b6e7b07 commit 7cfca60

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ jobs:
6161
- uses: actions/[email protected]
6262
with:
6363
path: |
64+
~/.cache/pip/
6465
~/.cargo/bin/
6566
~/.cargo/registry/index/
6667
~/.cargo/registry/cache/
@@ -154,6 +155,7 @@ jobs:
154155
- uses: actions/[email protected]
155156
with:
156157
path: |
158+
~/.cache/pip/
157159
~/.cargo/bin/
158160
~/.cargo/registry/index/
159161
~/.cargo/registry/cache/
@@ -207,6 +209,7 @@ jobs:
207209
- uses: actions/[email protected]
208210
with:
209211
path: |
212+
~/.cache/pip/
210213
~/.cargo/bin/
211214
~/.cargo/registry/index/
212215
~/.cargo/registry/cache/
@@ -261,6 +264,7 @@ jobs:
261264
id: cargo-cache
262265
with:
263266
path: |
267+
~/.cache/pip/
264268
~/.cargo/bin/
265269
~/.cargo/registry/index/
266270
~/.cargo/registry/cache/
@@ -354,6 +358,7 @@ jobs:
354358
- uses: actions/[email protected]
355359
with:
356360
path: |
361+
~/Library/Caches/pip/
357362
~/.cargo/bin/
358363
~/.cargo/registry/index/
359364
~/.cargo/registry/cache/
@@ -432,6 +437,7 @@ jobs:
432437
- uses: actions/[email protected]
433438
with:
434439
path: |
440+
~/AppData/Local/pip/Cache/
435441
~/.cargo/bin/
436442
~/.cargo/registry/index/
437443
~/.cargo/registry/cache/
@@ -502,6 +508,7 @@ jobs:
502508
- uses: actions/[email protected]
503509
with:
504510
path: |
511+
~/.cache/pip/
505512
~/.cargo/bin/
506513
~/.cargo/registry/index/
507514
~/.cargo/registry/cache/

0 commit comments

Comments
 (0)