mirror of
https://github.com/MichaelCurrin/mkdocs-quickstart.git
synced 2026-03-28 17:42:47 +01:00
ci: Add cache step
This commit is contained in:
9
.github/workflows/docs.yml
vendored
9
.github/workflows/docs.yml
vendored
@@ -16,6 +16,15 @@ jobs:
|
||||
- name: Set up Python 3.x
|
||||
uses: actions/setup-python@v2
|
||||
|
||||
- name: Cache dependencies
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.cache/pip
|
||||
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-pip-
|
||||
${{ runner.os }}-
|
||||
|
||||
- name: Install dependencies
|
||||
run: cd docs && make install
|
||||
|
||||
|
||||
Reference in New Issue
Block a user