Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 17a80a8

Browse files
committed
gha: Cache pip outputs too
1 parent 9d88ac3 commit 17a80a8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/build_docs.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@ jobs:
2828
key:
2929
${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{
3030
hashFiles('symedocs.yml') }}
31+
- name: Cache pip
32+
uses: actions/cache@v2
33+
with:
34+
path: ~/.cache/pip
35+
key: ${{ runner.os }}-pip-${{ hashFiles('symedocs.yml') }}
36+
restore-keys: |
37+
${{ runner.os }}-pip-
38+
${{ runner.os }}-
3139
- uses: conda-incubator/setup-miniconda@v2
3240
with:
3341
activate-environment: symedocs

0 commit comments

Comments
 (0)