Skip to content

Commit 1a99e56

Browse files
committed
🎬 Adds cache for python packages
1 parent a197e79 commit 1a99e56

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

‎.github/workflows/build_site.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,18 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v2
14-
- uses: actions/cache@v2 # FIXME: add pip + latex + gems
14+
- uses: actions/cache@v2 # FIXME: add apt(latex)
1515
with:
1616
path: vendor/bundle
1717
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile') }}
1818
restore-keys: |
1919
${{ runner.os }}-gems-
20+
- uses: actions/cache@v2
21+
with:
22+
path: ~/.cache/pip
23+
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt', '.github/python/requirements.txt') }}
24+
restore-keys: |
25+
${{ runner.os }}-pip-
2026
- name: Install TeXLive
2127
uses: DanySK/[email protected]
2228
- id: setup-python

0 commit comments

Comments
 (0)