Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
docs: Add cache step to Python example
Close #48
  • Loading branch information
Shohei Ueda authored and GitHub committed Nov 13, 2019
1 parent 097933f commit 74185ff
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Expand Up @@ -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
Expand Down

0 comments on commit 74185ff

Please sign in to comment.