docs: Add cache step to Python example

Close #48
This commit is contained in:
Shohei Ueda
2019-11-13 09:18:16 +09:00
committed by GitHub
parent 097933f4ab
commit 74185ffe80

View File

@@ -594,6 +594,14 @@ jobs:
python-version: '3.6'
architecture: 'x64'
- name: Cache dependencies
uses: actions/cache@v1
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies
run: |
pip install --upgrade pip